{"id":"GHSA-mpwj-fcr6-x34c","revision":null,"records":[{"revision":"285b23078c3c4aceb5cb7a0eec01bc89","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-4435","aliases":[],"title":"Yarn: untrusted search path","description":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","state":0,"publishedAt":"2024-02-04T19:16:35.651+00:00","modifiedAt":"2025-06-17T14:29:17.224+00:00","affected":[{"ecosystem":"Vendor product","name":"yarn","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"yarn\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"version\": \"1.22.13\",\n                            \"status\": \"unaffected\"\n                        }\n                    ]\n                }"},{"ecosystem":"https://packages.fedoraproject.org/","name":"yarnpkg","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Fedora\",\n                    \"vendor\": \"Fedora\",\n                    \"collectionURL\": \"https://packages.fedoraproject.org/\",\n                    \"packageName\": \"yarnpkg\",\n                    \"defaultStatus\": \"unaffected\"\n                }"},{"ecosystem":"https://packages.fedoraproject.org/","name":"yarnpkg","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Extra Packages for Enterprise Linux\",\n                    \"vendor\": \"Fedora\",\n                    \"collectionURL\": \"https://packages.fedoraproject.org/\",\n                    \"packageName\": \"yarnpkg\",\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"severity":"HIGH"}],"references":["https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-4435","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-4435","identifiers":["CVE-2021-4435"]},"retained":false,"historicalAffected":[]},{"revision":"bcf04d6fa32148e6aa79961f6c6cccf7","observedAt":"2026-11-16T01:13:23.063+00:00","statement":{"source":"euvd","id":"EUVD-2024-0674","aliases":["CVE-2021-4435","GHSA-mpwj-fcr6-x34c"],"title":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","description":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"severity":null}],"references":["https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0674","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 4, 2024, 7:16:35 PM","dateUpdated":"Jun 17, 2025, 2:29:17 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0674","identifiers":["EUVD-2024-0674","CVE-2021-4435","GHSA-mpwj-fcr6-x34c"]},"retained":false,"historicalAffected":[]},{"revision":"fe59d67d36674050a5749aa29ba79bed","observedAt":"2026-10-24T19:17:31.277+00:00","statement":{"source":"nvd","id":"CVE-2021-4435","aliases":[],"title":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","description":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","state":0,"publishedAt":"2024-02-04T20:15:45.657+00:00","modifiedAt":"2026-06-17T04:19:45.067+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · patrick@puiterwijk.org · Secondary","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-4435","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-426"],"productCriteria":["cpe:2.3:a:yarnpkg:yarn:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-02-04T20:15:45.657","lastModified":"2026-06-17T04:19:45.067"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-4435","identifiers":["CVE-2021-4435"]},"retained":false,"historicalAffected":[]},{"revision":"a3fedecd4e564bf29648bdf14d7d7627","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-mpwj-fcr6-x34c","aliases":["CVE-2021-4435"],"title":"Yarn untrusted search path vulnerability","description":"An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.","state":0,"publishedAt":"2024-02-04T21:30:43+00:00","modifiedAt":"2026-09-10T03:50:06.4253852+00:00","affected":[{"ecosystem":"npm","name":"yarn","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.22.13"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-4435","https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1","https://access.redhat.com/security/cve/CVE-2021-4435","https://bugzilla.redhat.com/show_bug.cgi?id=2262284","https://github.com/yarnpkg/yarn","https://github.com/yarnpkg/yarn/releases/tag/v1.22.13"],"sourceUrl":"https://github.com/advisories/GHSA-mpwj-fcr6-x34c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-mpwj-fcr6-x34c","identifiers":["GHSA-mpwj-fcr6-x34c","CVE-2021-4435"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0716622+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.071663+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-7b226a5dbb956f6efa40aa530e16b552d2766bd2cfeae2c8f66152d783ec78d1","complete":true,"records":426117,"lastAttemptAt":"2026-11-16T18:44:56.949882+00:00","lastSuccessAt":"2026-11-16T18:44:56.8623544+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:56.949882+00:00","snapshotPublishedAt":"2026-11-16T18:30:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ffcf524d3cbf41d2a3a6fa937f216dd0","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T18:47:40.7926227+00:00","lastSuccessAt":"2026-11-16T18:47:40.774+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:40.774+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0725273+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.0725276+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-85ccba0af8894ad495cf1ce959f9030f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T18:47:38.4901027+00:00","lastSuccessAt":"2026-11-16T18:47:38.474+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T18:47:38.474+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T18:47:10.7901587+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.7901587+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T18:44:57.0142322+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:57.0142322+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T18:47:10.8068878+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.8068878+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a545a204cb7e029142fca3977ea456f4a00759bf811f31b6042225ef52bf5867","complete":true,"records":232531,"lastAttemptAt":"2026-11-16T18:47:10.4632154+00:00","lastSuccessAt":"2026-11-16T18:47:09.141739+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.4632154+00:00","snapshotPublishedAt":"2026-11-16T18:33:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}