GHSA-5qq4-m6c3-xxmf

Suggest an improvement
Source
https://github.com/advisories/GHSA-5qq4-m6c3-xxmf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-5qq4-m6c3-xxmf/GHSA-5qq4-m6c3-xxmf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5qq4-m6c3-xxmf
Aliases
  • CVE-2022-21192
Published
2023-01-26T21:30:28Z
Modified
2025-04-01T22:56:48Z
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
Summary
Directory Traversal vulnerability in serve-lite
Details

All versions of the package serve-lite are vulnerable to Directory Traversal due to missing input sanitization or other checks and protections employed to the req.url passed as-is to path.join().

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-30T18:17:38Z",
    "nvd_published_at": "2023-01-26T21:15:00Z",
    "severity": "HIGH"
}
References

Affected packages

npm / serve-lite

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-5qq4-m6c3-xxmf/GHSA-5qq4-m6c3-xxmf.json"