{"answers":{"affected":"2 open source packages ship an affected version, including think-config.","exploited":"There is no known exploitation of GHSA-6cj2-92m5-7mvp in the wild and no public exploit code.","fix":"Upgrade think-config to 1.1.3 or later.","what":"GHSA-6cj2-92m5-7mvp is a vulnerability in think-config, published on 3 Aug 2021."},"fix_prompt":"Check this codebase for GHSA-6cj2-92m5-7mvp and fix it if it is affected.\n\nWhat it is: GHSA-6cj2-92m5-7mvp is a vulnerability in think-config, published on 3 Aug 2021. \nExploitation: There is no known exploitation of GHSA-6cj2-92m5-7mvp in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- think-config (npm): affected all versions; fixed in 1.1.3\n- think-config (npm): affected all versions; fixed in 1.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-6cj2-92m5-7mvp/ (Markdown: https://insights.sbomify.com/GHSA-6cj2-92m5-7mvp/index.md)","id":"GHSA-6cj2-92m5-7mvp","markdown":"https://insights.sbomify.com/GHSA-6cj2-92m5-7mvp/index.md","name":"GHSA-6cj2-92m5-7mvp","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nThe software receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.\n\n### Patches\n\n`think-config@1.1.3` patched it, anyone used `think-config` should upgrade to `\u003e=1.1.3` version.\n\n### References\n\nhttps://cwe.mitre.org/data/definitions/1321.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [thinkjs/thinkjs](https://github.com/thinkjs/thinkjs)\n* Email us at [i@imnerd.org](mailto:i@imnerd.org)","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Improperly Controlled Modification of Object Prototype Attributes","id":"GHSA-6cj2-92m5-7mvp","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2021"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["1.1.3"],"introduced":["0"],"last_affected":[],"package":"think-config","purl":null,"source":"GHSA-6cj2-92m5-7mvp"},{"ecosystem":"npm","fixed":["1.1.3"],"introduced":["0"],"last_affected":[],"package":"think-config","purl":"pkg:npm/think-config","source":"GHSA-6cj2-92m5-7mvp"}],"products":null,"published":"2021-08-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-6cj2-92m5-7mvp/"}