Improper Removal of Sensitive Information Before Storage or Transfer in irrd
IRRd did not always filter password hashes in query responses relating to mntner objects and database exports. This may have allowed adversaries to retrieve some of these hashes, perform a brute-force search for the clear-text passphrase, and use these to make unauthorised changes to affected IRR objects. This issue only affected instances that process password hashes, which means it is limited to IRRd instances that serve authoritative databases. IRRd instances operating solely as mirrors of other IRR databases are not affected.
The issue occurred:
- For
mntnerobjects where all password hash names (MD5-PWandCRYPT-PW) were in lower or mixed case in theauthattribute. For these objects, hashes remained in the output of all queries of any method and all database exports made with theexport_destinationsetting. Fortunately, objects in the common public IRR database virtually all use uppercase hash names which means very few of those objects were affected. - For any GraphQL queries that queried the
authfield onmntnerobjects. - For any GraphQL queries that queried the
objectTextfield on thejournalfield onmntnerobjects, if thenrtm_access_listsetting permitted journal access.
The two GraphQL cases are visible in logs, allowing users to determine whether any existing objects had their hashes exposed. This has been fixed in IRRd 4.2.3 and the main branch. Versions in the 4.1.x series never were affected. Users of the 4.2.x series are strongly recommended to upgrade. All users running a more recent version from the main branch should update to the latest version. Alternatively, but not recommended, apply the patch manually [for 4.2.x]
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | irrd | >= 4.2.0, < 4.2.3 | 4.2.3 |
References
- https://github.com/irrdnet/irrd/commit/fdffaf8dd71713f06e99dff417e6aa1e6fa84b70
- https://github.com/irrdnet/irrd/security/advisories/GHSA-cqxx-66wh-8pjw
- https://github.com/irrdnet/irrd/commit/0e41bae8d3d27316381a2fc7b466597230e35ec6
- https://nvd.nist.gov/vuln/detail/CVE-2022-24798
- https://github.com/irrdnet/irrd
- https://github.com/pypa/advisory-database/tree/main/vulns/irrd/PYSEC-2022-178.yaml
- https://irrd.readthedocs.io/en/stable/releases/4.2.3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-212- Platform
- Python (PyPI)
- Package
irrd- Disclosed
- 31.03.2022
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-178 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-cqxx-66wh-8pjw - CC BY 4.0
Vulnerability history: irrd
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 03.2022 03.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Improper Removal of Sensitive Information Before Storage or Transfer in irrd this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.