predictable WebSocket mask (curl curl)

CVE-2025-10148
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.52 % · percentile 44 ()
State
PUBLISHED
Published
Updated
Assigner
curl
NVD status
Modified

Description

curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection. A predictable mask pattern allows for a malicious server to induce traffic between the two communicating parties that could be interpreted by an involved proxy (configured or transparent) as genuine, real, HTTP traffic with content and thereby poison its cache. That cached poisoned content could then be served to all users of that proxy.

Weaknesses (CWE)

  • CWE-340 — Generation of Predictable Numbers or Identifiers

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
curl · curlaffected 8.11.0 < 8.14.2 ; affected 8.15.0 < 8.16.0
curl · curlaffected d78e129d50b2d190f1c1bde2ad1f62f02f152db0 < 84db7a9eae8468c0445b15aa806fa7fa806fa0f2
curl · curlaffected 8.15.0 ; affected 8.14.1 ; affected 8.14.0 ; affected 8.13.0 ; affected 8.12.1 ; affected 8.12.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD