Description (CNA)
oasdiff-action is a GitHub Action that detects breaking changes in OpenAPI specs and post a review on every pull request. Before version 0.0.51, the oasdiff actions resolved external $refs in the OpenAPI spec by default (allow-external-refs: true). When an action runs on a pull request whose spec is attacker-controlled — most importantly fork pull requests on public repositories — a $ref in that spec is fetched/read on the runner with no interaction required, enabling SSRF and disclosure of structured files on the runner. This issue has been patched in version 0.0.51.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| oasdiff / oasdiff-action | affected < 0.0.51 |
CWE
CWE-200, CWE-918, CWE-1188
References
- https://github.com/oasdiff/oasdiff-action/security/advisories/GHSA-fhj3-7267-7vv5
- https://github.com/oasdiff/oasdiff-action/pull/128
- https://github.com/oasdiff/oasdiff-action/pull/129
- https://github.com/oasdiff/oasdiff-action/pull/130
ADP enrichment
No English description supplied.
No references supplied.