GHSA-j5qp-p44g-2m49 @asymmetric-effort/specifyjs: No redirect target validation in secureFetch
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
Finding
Location: core/src/shared/secure-fetch.ts
assertSecureUrl validated only the initial request URL. The fetch() API follows redirects by default (up to 20 hops). A request to a valid https:// URL could redirect to http://internal-service/ or other unvalidated destinations.
Status
Fixed in v0.2.136 — secureFetch now defaults to redirect: 'error' which rejects any redirect. Callers can override with { redirect: 'follow' } if they trust the target.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| asymmetric-effort specifyjs(npm) | < 0.2.136 | 0.2.136 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| asymmetric-effort specifyjs(npm) | < 0.2.136 | 0.2.136 |
References
- github.com vendor-advisory
- github.com patch
- github.com
- github.com product