Apache Portable Runtime Utility: apr_password_validate() vulnerable to timing attack (Apache Software Foundation Apache Portable Runtime Utility)

CVE-2025-49506
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.38 % · percentile 34 ()
State
PUBLISHED
Published
Updated
Assigner
apache
Affected products
Apache Software Foundation · Apache Portable Runtime Utility
NVD status
Analyzed

Description

APR-util versions 1.6.3 (and earlier) function apr_password_validate() was not constant-time with regards to hashes or passwords comparisons, potentially leaking their content via a side channel timing attack particularly on platforms without crypt() such as  Windows, BeOS, NetWare, or Android. Users are recommended to upgrade to version 1.6.4, which fixes this issue.

Weaknesses (CWE)

  • CWE-208 — Observable Timing Discrepancy

Credits

  • Michael Rowley <michael csirt.global> finder

References

Scores

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

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Apache Software Foundation · Apache Portable Runtime Utility
APR-util
affected : ≥ 1.2.0 ≤ 1.6.3
Other versions : unaffected

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