{"id":"CVE-2024-38537","published":"2024-07-02T19:50:10Z","modified":"2024-08-02T04:12:24Z","title":"Inclusion of Untrusted polyfill.io Code Vulnerability in fides.js","vendor":"ethyca","product":"fides","tier":"tail","description":{"text":"Fides is an open-source privacy engineering platform. `fides.js`, a client-side script used to interact with the consent management features of Fides, used the `polyfill.io` domain in a very limited edge case, when it detected a legacy browser such as IE11 that did not support the fetch standard. Therefore it was possible for users of legacy, pre-2017 browsers who navigate to a page serving `fides.js` to download and execute malicious scripts from the `polyfill.io` domain when the domain was compromised and serving malware. No exploitation of `fides.js` via `polyfill.io` has been identified as of time of publication.\n\nThe vulnerability has been patched in Fides version `2.39.1`. Users are advised to upgrade to this version or later to secure their systems against this threat. On Thursday, June 27, 2024, Cloudflare and Namecheap intervened at a domain level to ensure `polyfill.io` and its subdomains could not resolve to the compromised service, rendering this vulnerability unexploitable. Prior to the domain level intervention, there were no server-side workarounds and the confidentiality, integrity, and availability impacts of this vulnerability were high. Clients could ensure they were not affected by using a modern browser that supported the fetch standard.","provenance":"source","from":"CVE.org"},"cvss":{"score":0,"severity":"NONE","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02507,"percentile":0.8546,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/ethyca/fides/security/advisories/GHSA-cvw4-c69g-7v7m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ethyca/fides/pull/5026","tags":["x_refsource_MISC"]},{"url":"https://github.com/ethyca/fides/commit/868c4d629760572192bd61db34f5a4458ed12005","tags":["x_refsource_MISC"]},{"url":"https://fetch.spec.whatwg.org","tags":["x_refsource_MISC"]},{"url":"https://sansec.io/research/polyfill-supply-chain-attack","tags":["x_refsource_MISC"]}],"priority":{"score":22.1,"factors":[{"name":"EPSS percentile","points":17.09},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-07-07","earliestUrl":"https://github.com/Havoc10-sw/Detect_polyfill_CVE-2024-38537-","repos":[{"name":"Havoc10-sw/Detect_polyfill_CVE-2024-38537-","url":"https://github.com/Havoc10-sw/Detect_polyfill_CVE-2024-38537-","stars":0,"created":"2024-07-07"}]},"first":{"date":"2024-07-07","source":"PoC-in-GitHub","url":"https://github.com/Havoc10-sw/Detect_polyfill_CVE-2024-38537-"},"provenance":"source"},"vendorSlug":"ethyca","affectedVersions":[{"vendor":"ethyca","product":"fides","versions":["< 2.39.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-02T20:11:37.728266Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ethyca-fides","vulnerableRanges":["<2.39.1"],"patched":["2.39.1"],"from":["GHSA-cvw4-c69g-7v7m","PYSEC-2026-1339"],"provenance":"source"}],"summary":{"text":"The flaw lies in the fides.js client-side script of the Fides privacy engineering platform, which in a narrow case loaded code from the polyfill.io domain when a legacy browser lacking fetch support was detected. An attacker who controlled that compromised domain could cause users of pre-2017 browsers that load a page serving fides.js to download and execute malicious scripts, with no authentication needed and no user interaction beyond navigating to the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:56Z"},"euvd":{"id":"EUVD-2024-2328","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ethyca-fides-cve-2024-38537","children":[{"from":"CVE-2024-38537","to":"CVE-2024-31223","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ethyca-fides","fromFixed":"2.39.1","toFixed":"2.39.2","daysApart":1},{"kind":"same-code","provenance":"machine","files":["clients/privacy-center/pages/api/fides-js.ts"],"commits":["https://github.com/ethyca/fides/commit/0555080541f18a5aacff452c590ac9a1b56d7097","https://github.com/ethyca/fides/commit/cd510216b281de5443ec1c126add95cc5be0970a","https://github.com/ethyca/fides/commit/868c4d629760572192bd61db34f5a4458ed12005"],"basis":"shared function","functions":["handler"]}]}],"packageHistory":[{"cve":"CVE-2023-48224","published":"2023-11-15","fixed":"2.24.0","kev":false},{"cve":"CVE-2024-34715","published":"2024-05-29","fixed":"2.37.0","kev":false},{"cve":"CVE-2024-35189","published":"2024-05-30","fixed":"2.37.0","kev":false,"link":{"from":"CVE-2024-35189","to":"CVE-2024-38537","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ethyca-fides","fromFixed":"2.37.0","toFixed":"2.39.1","daysApart":33}]}},{"cve":"CVE-2024-38537","published":"2024-07-02","fixed":"2.39.1","kev":false},{"cve":"CVE-2024-31223","published":"2024-07-03","fixed":"2.39.2","kev":false},{"cve":"CVE-2024-45052","published":"2024-09-04","fixed":"2.44.0","kev":false},{"cve":"CVE-2024-45053","published":"2024-09-04","fixed":"2.44.0","kev":false}],"package":"PyPI:ethyca-fides"}}