Description
worksmith is vulnerable to prototype pollution. The vulnerability exists as the `setValue` function does not restrict `__proto__` headers to be set in objects.
Affected Software
Related
{"id": "VERACODE:26555", "vendorId": null, "type": "veracode", "bulletinFamily": "software", "title": "Prototype Pollution", "description": "worksmith is vulnerable to prototype pollution. The vulnerability exists as the `setValue` function does not restrict `__proto__` headers to be set in objects.\n", "published": "2020-09-02T05:18:38", "modified": "2020-11-22T12:45:57", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5}, "severity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "https://sca.analysiscenter.veracode.com/vulnerability-database/security/1/1/sid-26555/summary", "reporter": "Veracode Vulnerability Database", "references": ["https://github.com/HoLyVieR/prototype-pollution-nsec18/blob/master/paper/JavaScript_prototype_pollution_attack_in_NodeJS.pdf"], "cvelist": ["CVE-2020-7725"], "immutableFields": [], "lastseen": "2022-07-26T13:34:50", "viewCount": 0, "enchantments": {"score": {"value": 2.7, "vector": "NONE"}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2020-7725"]}, {"type": "github", "idList": ["GHSA-9829-JJ5P-J6HF"]}, {"type": "osv", "idList": ["OSV:GHSA-9829-JJ5P-J6HF"]}]}, "affected_software": {"major_version": [{"name": "worksmith", "version": 1}, {"name": "worksmith", "version": 0}]}, "vulnersScore": 2.7}, "_state": {"score": 1660014389, "dependencies": 1660012827, "affected_software_major_version": 1666695388}, "_internal": {"score_hash": "bd6faaba1310af2fc3a854777fa210c0"}, "affectedSoftware": [{"version": "1.0.0", "operator": "le", "name": "worksmith"}, {"version": "0.0.1", "operator": "ge", "name": "worksmith"}]}
{"osv": [{"lastseen": "2022-05-12T01:15:59", "description": "All versions up to and including 1.0.0 of the package worksmith are vulnerable to Prototype Pollution via the setValue function.", "edition": 1, "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-05-06T18:26:30", "type": "osv", "title": "Prototype Pollution in worksmith", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7725"], "modified": "2021-05-05T17:39:52", "id": "OSV:GHSA-9829-JJ5P-J6HF", "href": "https://osv.dev/vulnerability/GHSA-9829-jj5p-j6hf", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "github": [{"lastseen": "2023-01-09T05:06:50", "description": "All versions up to and including 1.0.0 of the package worksmith are vulnerable to Prototype Pollution via the setValue function.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-05-06T18:26:30", "type": "github", "title": "Prototype Pollution in worksmith", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7725"], "modified": "2023-01-09T05:05:07", "id": "GHSA-9829-JJ5P-J6HF", "href": "https://github.com/advisories/GHSA-9829-jj5p-j6hf", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "cve": [{"lastseen": "2022-12-02T21:11:25", "description": "All versions of package worksmith are vulnerable to Prototype Pollution via the setValue function.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2020-09-01T10:15:00", "type": "cve", "title": "CVE-2020-7725", "cwe": ["CWE-1321"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2020-7725"], "modified": "2022-12-02T19:50:00", "cpe": ["cpe:/a:guidesmiths:worksmith:*"], "id": "CVE-2020-7725", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-7725", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:guidesmiths:worksmith:*:*:*:*:*:node.js:*:*"]}]}