8.7high
dssrf: any users using 1.1.1.1 DNS is impacted by SSRF
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5846-7qm3-r52j
Description
DSSRF is a Node.js library that provides a wide range of utilities and advanced SSRF defense checks. Prior to 1.0.5, is_url_safe can treat localhost as safe when DNS resolver 1.1.1.1 returns NXDOMAIN because dns.resolve4 yields no address and no dns.lookup fallback occurs, allowing server-side request forgery. This issue is fixed in version 1.0.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HackingRepo dssrf-js | < 1.0.5 | CVE List |
| dssrf (npm) | before 1.0.5 | GitHub Advisory Database |
All scores
| GitHub_M | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
DSSRF is a Node.js library that provides a wide range of utilities and advanced SSRF defense checks. Prior to 1.0.5, is_url_safe can treat localhost as safe when DNS resolver 1.1.1.1 returns NXDOMAIN because dns.resolve4 yields no address and no dns.lookup fallback occurs, allowing server-side request forgery. This issue is fixed in version 1.0.5.
GitHub Advisory Database
Summary
is_url_safe can treat localhost as safe when DNS resolver 1.1.1.1 returns NXDOMAIN because dns.resolve4 yields no address and no dns.lookup fallback occurs, allowing server-side request forgery.
POC
Example to simulate 1.1.1.1 in version before 1.5.0 of dssrf:
import { is_url_safe } from '../dist/helpers.js';
import dns from 'dns';
dns.setServers(['1.1.1.1']);
const TARGET = 'http://localhost/admin';
console.log(`Testing: ${TARGET}`);
console.log(`Current DNS Servers: ${dns.getServers()}`);
const result = await is_url_safe(TARGET);
if (result === true) {
console.log('dssrf treated localhost as SAFE because 1.1.1.1 returned NXDOMAIN.');
} else {
console.log('dssrf blocked localhost.');
}
NVD (es)
DSSRF es una biblioteca de Node.js que proporciona una amplia gama de utilidades y comprobaciones avanzadas de defensa contra SSRF. Antes de la versión 1.0.5, is_url_safe puede tratar localhost como seguro cuando el resolvedor DNS 1.1.1.1 devuelve NXDOMAIN porque dns.resolve4 no produce ninguna dirección y no se produce una alternativa de dns.lookup, lo que permite la falsificación de petición del lado del servidor. Este problema está solucionado en la versión 1.0.5.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54729 changed 2026-07-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5846-7qm3-r52j changed 2026-07-31 | CC-BY-4.0 |
| NVD | CVE-2026-54729 changed 2026-10-23 | Public domain |