<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T06:11:16.254001+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-jxpm-75mh-9fp7</id>
    <title>GHSA-jxpm-75mh-9fp7 — oras-go blob upload vulnerable to credential forwarding via unvalidated Location header</title>
    <updated>2026-10-01T06:11:16.403446+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: oras.land/oras-go/v2</p>
<p>## Summary</p>
<p>oras-go follows a registry-controlled `Location` header during the monolithic blob upload flow and reuses the `Authorization` header from the initial `POST` request for the subsequent `PUT` request. If a malicious registry returns a cross-host `Location`, oras-go can send the caller's credentials to an attacker-controlled endpoint.</p>
<p>## Affected Versions</p>
<p>tested: v2.6.0 (commit 03243809936cce826494b5506f724c6dc11115b1, as-of 2026-01-24)
range: unknown; likely affects earlier v2.x releases that include the same upload flow</p>
<p>## Impact</p>
<p>Credential leak to an attacker-controlled endpoint and client-side ssrf to a cross-host target.</p>
<p>## Affected Component</p>
<p>- `registry/remote/repository.go:878-916` (`blobStore.completePushAfterInitialPost`)</p>
<p>## Reproduction</p>
<p>Attachments include `poc.zip` with a local-only harness (no real registry required). It runs a fake registry server that returns a cross-host `Location` and a second server that records whether it received `Authorization`.</p>
<p>```bash
unzip -q -o poc.zip -d /tmp/poc
cd /tmp/poc/poc-F-ORAS-LOCATION-UPLOAD-001
make canonical
make control
```</p>
<p>## Recommended Fix</p>
<p>- validate `Location` before uploading (scheme + hostname + effective port) against the original request, or require an explicit opt-in allowlist for cross-host upload urls
- never forward `Authorization` when the upload target changes host or scheme</p>
<p>## references</p>
<p>- security policy: https://github.com/oras-project/oras-go/security/policy
- vulnerable code: `reg…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-jxpm-75mh-9fp7"/>
  </entry>
</feed>
