sigstore-js @sigstore/oci before 0.8.0 Credential Exposure via Cross-Origin Redirect
sigstore-js @sigstore/oci before 0.8.0 contains a credential exposure vulnerability that leaks registry credentials by replaying OAuth2 password-grant request bodies on cross-origin 307 or 308 redirects. Attackers who can make a trusted token service redirect to their host via open redirect or compromise receive the username and password POSTed by RegistryClient.
Insertion of Sensitive Information Into Sent Data CWE-201
The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Sigstore Sigstore-js | Software | from 0, before 0.8.0 | 0.8.0 |
The 8.2 severity score (high) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | None | The service keeps running. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 4 sources for this flaw, none tagged as a vendor patch.