MEDIUM
GHSA-xw57-23p8-9wc5
@asymmetric-effort/specifyjs: Localhost bypass incomplete (IPv6, 0.0.0.0, 127.x range)
Quick fix
GHSA-xw57-23p8-9wc5 — @asymmetric-effort/specifyjs: upgrade to the fixed version with the command below.
npm install @asymmetric-effort/specifyjs@0.2.136Details
## Finding
**Location**: `core/src/shared/secure-fetch.ts:52-54`
The localhost exception allowed `localhost` and `127.0.0.1` but did not cover `0.0.0.0`, `[::1]` (IPv6 localhost), or the full `127.0.0.0/8` loopback range.
## Status
**Fixed in v0.2.136** — Localhost detection now covers `localhost`, `127.0.0.1`, `[::1]`, `0.0.0.0`, and the full `127.x.x.x` range.
Are you affected?
Enter the version of the package you're using.
Affected packages
npm/@asymmetric-effort/specifyjs
Introduced in:
0Fixed in: 0.2.136Fix
npm install @asymmetric-effort/specifyjs@0.2.136References
- https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-xw57-23p8-9wc5[WEB]
- https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a[WEB]
- https://github.com/asymmetric-effort/specifyjs/commit/293124c51bf797c0f5cdae32981110545850a893[WEB]
- https://github.com/asymmetric-effort/specifyjs[PACKAGE]