Insertion of Sensitive Information into Log File Affecting @directus/api package, versions <21.0.0
Threat Intelligence
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-DIRECTUSAPI-8171456
- published 9 Oct 2024
- disclosed 8 Oct 2024
- credit licitdev
Introduced: 8 Oct 2024
CVE-2024-47822 Open this link in a new tabHow to fix?
Upgrade @directus/api
to version 21.0.0 or higher.
Overview
@directus/api is a real-time API and App dashboard for managing SQL database content
Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File by logging access tokens from the req.query
parameter when the LOG_STYLE
is set to raw
. The risk is elevated in cases where the access tokens in use are static or have long expiry times.