{"answers":{"affected":"2 open source packages ship an affected version, including convict. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0163 exists.","fix":"Upgrade convict to 6.2.4 or later.","what":"CVE-2023-0163 is a high-severity vulnerability in Mozilla Convict, published on 26 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-0163 and fix it if it is affected.\n\nWhat it is: CVE-2023-0163 is a high-severity vulnerability in Mozilla Convict, published on 26 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-0163 exists.\n\nAffected packages and fixed versions:\n- convict (npm): affected all versions; fixed in 6.2.4\n- convict (npm): affected all versions; fixed in 6.2.4\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/CVE-2023-0163/ (Markdown: https://insights.sbomify.com/CVE-2023-0163/index.md)","id":"CVE-2023-0163","markdown":"https://insights.sbomify.com/CVE-2023-0163/index.md","name":"CVE-2023-0163","record":{"aliases":["GHSA-4jrm-c32x-w4jf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Node.js configuration library","requires_auth":"none","summary":"Prototype pollution in Convict allows attackers to inject or override configuration attributes, potentially causing crashes or altering application behavior.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mozilla","cpe":[{"product":"convict","vendor":"mozilla"}],"cvss":{"score":8.4,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerability in Mozilla Convict.\n\nThis allows an attacker to inject attributes that are used in other components, or to override existing attributes with ones that have incompatible type, which may lead to a crash.\n\nThe main use case of Convict is for handling server-side \nconfigurations written by the admins owning the servers, and not random \nusers. So it's unlikely that an admin would deliberately sabotage their \nown server. Still, a situation can happen where an admin not \nknowledgeable about JavaScript could be tricked by an attacker into \nwriting the malicious JavaScript code into some config files.\n\nThis issue affects Convict: before 6.2.4.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Prototype Pollution in convict","id":"CVE-2023-0163","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Command injection in OrangeScrum","id":"CVE-2023-0164"},"packages":[{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["0"],"last_affected":[],"package":"convict","purl":null,"source":"GHSA-4jrm-c32x-w4jf"},{"ecosystem":"npm","fixed":["6.2.4"],"introduced":["0"],"last_affected":[],"package":"convict","purl":"pkg:npm/convict","source":"GHSA-4jrm-c32x-w4jf"}],"prev":{"headline":"CPO Companion \u003c= 1.0.4 - Authenticated (Administrator+) Stored Cross-Site Scripting","id":"CVE-2023-0162"},"products":["Convict"],"published":"2024-11-26","related":[{"cvss_score":7.5,"headline":"Prototype Pollution","id":"CVE-2022-21190","kev_date_added":null,"published":"2022-05-13"},{"cvss_score":7.5,"headline":"Prototype Pollution","id":"CVE-2022-22143","kev_date_added":null,"published":"2022-05-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-27","vendors":["Mozilla"]},"summary":"Prototype pollution in Convict allows attackers to inject or override configuration attributes, potentially causing crashes or altering application behavior.","url":"https://insights.sbomify.com/CVE-2023-0163/"}