Server-Side Request Forgery (SSRF) Affecting python-qrcode package, versions <0:5.3-1.module+el8.10.0+1916+6bb8cf6b


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.49% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-PYTHONQRCODE-14139566
  • published28 Nov 2025
  • disclosed12 Nov 2025

Introduced: 12 Nov 2025

CVE-2025-59088  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 python-qrcode to version 0:5.3-1.module+el8.10.0+1916+6bb8cf6b or higher.
This issue was patched in RLSA-2025:21140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-qrcode package and not the python-qrcode package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

If kdcproxy receives a request for a realm which does not have server addresses defined in its configuration, by default, it will query SRV records in the DNS zone matching the requested realm name. This creates a server-side request forgery vulnerability, since an attacker could send a request for a realm matching a DNS zone where they created SRV records pointing to arbitrary ports and hostnames (which may resolve to loopback or internal IP addresses). This vulnerability can be exploited to probe internal network topology and firewall rules, perform port scanning, and exfiltrate data. Deployments where the "use_dns" setting is explicitly set to false are not affected.

CVSS Base Scores

version 3.1