Description
Docker Sandboxes versions since 0.27.0, before 0.55.0 substituted custom-secret placeholders in arbitrary outbound request headers without restricting the destination header or removing reflected values from responses. Code running inside a sandbox could recover a host-held secret by placing its placeholder in a header that an allowed upstream service echoes. Exploitation requires a configured custom secret and a reachable service that reflects the substituted value. The issue is fixed in Docker Sandboxes 0.55.0.
Vendor solution
Upgrade to Docker Sandboxes 0.55.0 or later.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- docs.docker.com/ai/sandboxes/
- docs.docker.com/ai/sandboxes/configuration/credentials/#how-credential-injection-works
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.