{"url":"http://public2.vulnerablecode.io/api/packages/480928?format=json","purl":"pkg:npm/%40prisma/sdk@2.6.0-dev.6","type":"npm","namespace":"@prisma","name":"sdk","version":"2.6.0-dev.6","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.20.0","latest_non_vulnerable_version":"2.20.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42052?format=json","vulnerability_id":"VCID-8w2y-hpx3-jfhf","summary":"Command injection vulnerability in @prisma/sdk in getPackedPackage function\n### Impact\n\nAs of today, we are not aware of any Prisma users or external consumers of the `@prisma/sdk` package who are affected by this security vulnerability.\n\nThis issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.\n\nIt only affects the `getPackedPackage` function and this function is not advertised and only used for tests & building our CLI, no malicious code was found after checking our codebase.\n\n### Patches\n\nFixed in \n- @prisma/sdk@2.20.0 (latest channel)\n- @prisma/sdk@2.20.0-dev.29 (dev channel)\n\nPull Request closing this vulnerability [https://github.com/prisma/prisma/pull/6245](https://github.com/prisma/prisma/pull/6245)\n\n### Acknowledgements\n\nThis issue was discovered and reported by GitHub Engineer [@erik-krogh (Erik Krogh Kristensen)](https://github.com/erik-krogh).\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Create a discussion in [the Prisma repository](https://github.com/prisma/prisma/discussions)\n- Email us at security@prisma.io","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21414","reference_id":"","reference_type":"","scores":[{"value":"0.02499","scoring_system":"epss","scoring_elements":"0.85575","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21414"},{"reference_url":"https://github.com/prisma/prisma/pull/6245","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/prisma/prisma/pull/6245"},{"reference_url":"https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/prisma/prisma/security/advisories/GHSA-pxcc-hj8w-fmm7"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21414","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21414"},{"reference_url":"https://security.netapp.com/advisory/ntap-20210618-0003","reference_id":"","reference_type":"","scores":[{"value":"7.7","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://security.netapp.com/advisory/ntap-20210618-0003"},{"reference_url":"https://security.netapp.com/advisory/ntap-20210618-0003/","reference_id":"","reference_type":"","scores":[],"url":"https://security.netapp.com/advisory/ntap-20210618-0003/"},{"reference_url":"https://github.com/advisories/GHSA-pxcc-hj8w-fmm7","reference_id":"GHSA-pxcc-hj8w-fmm7","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-pxcc-hj8w-fmm7"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/75844?format=json","purl":"pkg:npm/%40prisma/sdk@2.20.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540prisma/sdk@2.20.0"}],"aliases":["CVE-2021-21414","GHSA-pxcc-hj8w-fmm7"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-8w2y-hpx3-jfhf"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540prisma/sdk@2.6.0-dev.6"}