Vulnerability · Published Jul 2, 2024 · Assigned by GitHub_M
CVE-2024-38537Inclusion of Untrusted polyfill.io Code Vulnerability in fides.js
None 0.0
In plain English
A security flaw in fides from ethyca. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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. The 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | ethyca-fides | 2.39.1 | GHSA-cvw4-c69g-7v7m |
| PyPI | ethyca-fides | 2.39.1 | PYSEC-2026-1339 |
Affected products (as reported)
Weakness: CWE-829 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
References
- https://github.com/ethyca/fides/security/advisories/GHSA-cvw4-c69g-7v7m x_refsource_CONFIRM
- https://github.com/ethyca/fides/pull/5026 x_refsource_MISC
- https://github.com/ethyca/fides/commit/868c4d629760572192bd61db34f5a4458ed12005 x_refsource_MISC
- https://fetch.spec.whatwg.org x_refsource_MISC
- https://sansec.io/research/polyfill-supply-chain-attack x_refsource_MISC