{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37442?format=json","vulnerability_id":"VCID-nc2b-zw2w-cuh6","summary":"adolph_dudu ratio-swiper v0.0.2 was discovered to contain a prototype pollution via the function extendDefaults. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.","aliases":[{"alias":"CVE-2024-38997"},{"alias":"GHSA-88vr-hjqx-57qh"}],"fixed_packages":[],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/32335?format=json","purl":"pkg:npm/%40adolph_dudu/ratio-swiper@0.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-nc2b-zw2w-cuh6"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540adolph_dudu/ratio-swiper@0.0.2"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38997","reference_id":"","reference_type":"","scores":[{"value":"0.00536","scoring_system":"epss","scoring_elements":"0.67914","published_at":"2026-06-11T12:55:00Z"},{"value":"0.00536","scoring_system":"epss","scoring_elements":"0.68002","published_at":"2026-06-12T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-38997"},{"reference_url":"https://github.com/Adophlidu/swiper","reference_id":"","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/Adophlidu/swiper"},{"reference_url":"https://gist.github.com/mestrtee/840f5d160aab4151bd0451cfb822e6b5","reference_id":"840f5d160aab4151bd0451cfb822e6b5","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-07-01T19:38:35Z/"}],"url":"https://gist.github.com/mestrtee/840f5d160aab4151bd0451cfb822e6b5"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38997","reference_id":"CVE-2024-38997","reference_type":"","scores":[{"value":"6.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38997"},{"reference_url":"https://github.com/advisories/GHSA-88vr-hjqx-57qh","reference_id":"GHSA-88vr-hjqx-57qh","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-88vr-hjqx-57qh"}],"weaknesses":[{"cwe_id":1321,"name":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","description":"The product 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."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-nc2b-zw2w-cuh6"}