CVE-2024-38537

Inclusion of Untrusted polyfill.io Code Vulnerability in fides.js

0.0 none EPSS 1.43%

Published 2 Jul 2024 Updated 2 Aug 2024 CNA: GitHub_M

Check your servers for CVE-2024-38537

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38537 affects fides, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

0.0 none CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 73.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 2 Jul 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected products

As the CNA lists them.

ProductVersions
fides
affected < 2.39.1

Is my server affected?

Find the installed version of fides and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i fides
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-38537 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-38537

RHEL, Rocky, Alma, Fedora

rpm -q fides
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-38537

Alpine

apk list --installed | grep -i fides

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-38537
trivy image --scanners vuln IMAGE | grep CVE-2024-38537

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2024-38537 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.