Advisory

GHSA-v4x8-gw49-7hv4

Also known as: None

Summary

Path Traversal in swagger-injector

Details

All versions of swagger-injector are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the configured dist folder using relative paths.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-03 20:37 UTC
Modified
2020-08-31 18:49 UTC

Affected packages and fixes

swagger-injector

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences