{"answers":{"affected":"6 open source packages ship an affected version, including ssri. It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-27290 in the wild and no public exploit code.","fix":"Upgrade ssri to a fixed version for your release line: 6.0.2, 7.1.1 or 8.0.1.","what":"CVE-2021-27290 is a high-severity denial of service vulnerability in Oracle Graalvm, published on 12 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-27290 and fix it if it is affected.\n\nWhat it is: CVE-2021-27290 is a high-severity denial of service vulnerability in Oracle Graalvm, published on 12 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-27290 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ssri (npm): affected from 5.2.2; fixed in 6.0.2\n- ssri (npm): affected from 5.2.2; fixed in 6.0.2\n- ssri (npm): affected from 7.0.0; fixed in 7.1.1\n- ssri (npm): affected from 7.0.0; fixed in 7.1.1\n- ssri (npm): affected from 8.0.0; fixed in 8.0.1\n- ssri (npm): affected from 8.0.0; fixed in 8.0.1\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-2021-27290/ (Markdown: https://insights.sbomify.com/CVE-2021-27290/index.md)","id":"CVE-2021-27290","markdown":"https://insights.sbomify.com/CVE-2021-27290/index.md","name":"CVE-2021-27290","record":{"aliases":["ALPINE-CVE-2021-27290","CLSA-2026-1774225210","CLSA-2026-1783731812","DEBIAN-CVE-2021-27290","GHSA-vx3p-948g-6vhq","ROOT-APP-NPM-CVE-2021-27290","UBUNTU-CVE-2021-27290"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript SRI library","requires_auth":"none","summary":"Attackers can cause denial of service via malicious Subresource Integrity strings in the ssri library when the strict option is enabled.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"graalvm","vendor":"oracle"},{"product":"sinec_infrastructure_network_services","vendor":"siemens"},{"product":"ssri","vendor":"ssri_project"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Regular Expression Denial of Service (ReDoS)","id":"CVE-2021-27290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"oracle:graalvm","products":["oracle:graalvm","siemens:sinec_infrastructure_network_services"],"type":"denial_of_service","year":"2021"},"n_packages":6,"n_references":5,"next":{"headline":"Pygments vulnerable to Regular Expression Denial of Service (ReDoS)","id":"CVE-2021-27291"},"packages":[{"ecosystem":"npm","fixed":["6.0.2"],"introduced":["5.2.2"],"last_affected":[],"package":"ssri","purl":null,"source":"GHSA-vx3p-948g-6vhq"},{"ecosystem":"npm","fixed":["6.0.2"],"introduced":["5.2.2"],"last_affected":[],"package":"ssri","purl":"pkg:npm/ssri","source":"GHSA-vx3p-948g-6vhq"},{"ecosystem":"npm","fixed":["7.1.1"],"introduced":["7.0.0"],"last_affected":[],"package":"ssri","purl":null,"source":"GHSA-vx3p-948g-6vhq"},{"ecosystem":"npm","fixed":["7.1.1"],"introduced":["7.0.0"],"last_affected":[],"package":"ssri","purl":"pkg:npm/ssri","source":"GHSA-vx3p-948g-6vhq"},{"ecosystem":"npm","fixed":["8.0.1"],"introduced":["8.0.0"],"last_affected":[],"package":"ssri","purl":null,"source":"GHSA-vx3p-948g-6vhq"},{"ecosystem":"npm","fixed":["8.0.1"],"introduced":["8.0.0"],"last_affected":[],"package":"ssri","purl":"pkg:npm/ssri","source":"GHSA-vx3p-948g-6vhq"}],"prev":{"headline":"Other in n/a","id":"CVE-2021-27289"},"products":["n/a"],"published":"2021-03-12","related":[{"cvss_score":8.6,"headline":"Security feature bypass in Oracle GraalVM Enterprise Edition","id":"CVE-2025-50059","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":8.2,"headline":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning","id":"CVE-2021-32803","kev_date_added":null,"published":"2021-08-03"},{"cvss_score":8.2,"headline":"Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization","id":"CVE-2021-32804","kev_date_added":null,"published":"2021-08-03"},{"cvss_score":8.1,"headline":"Code injection in Oracle GraalVM Enterprise Edition","id":"CVE-2025-30749","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":8.1,"headline":"Code injection in Oracle GraalVM Enterprise Edition","id":"CVE-2025-50106","kev_date_added":null,"published":"2025-07-15"},{"cvss_score":7.8,"headline":"Privilege escalation in Oracle GraalVM Enterprise Edition","id":"CVE-2026-62574","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":7.7,"headline":"Denial of service in GraalVM Enterprise Edition","id":"CVE-2020-2802","kev_date_added":null,"published":"2020-04-15"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can cause denial of service via malicious Subresource Integrity strings in the ssri library when the strict option is enabled.","url":"https://insights.sbomify.com/CVE-2021-27290/"}