GHSA-7p89-p6hx-q4fw

Suggest an improvement
Source
https://github.com/advisories/GHSA-7p89-p6hx-q4fw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-7p89-p6hx-q4fw/GHSA-7p89-p6hx-q4fw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7p89-p6hx-q4fw
Aliases
Published
2024-09-30T17:48:29Z
Modified
2024-09-30T20:11:40Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
basic-auth-connect's callback uses time unsafe string comparison
Details

Impact

basic-auth-connect <1.1.0 uses a timing-unsafe equality comparison that can leak timing information

Patches

this issue has been fixed in basic-auth-connect 1.1.0

References

Database specific
{
    "nvd_published_at": "2024-09-30T16:15:09Z",
    "cwe_ids": [
        "CWE-208"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-30T17:48:29Z"
}
References

Affected packages

npm / basic-auth-connect

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0