CVE-2022-24798 Insufficient password hash filtering in some IRRd queries and exports

High 7.5 Published Updated

Attackers can retrieve password hashes from authoritative IRRd instances, potentially leading to unauthorized modification of routing registry objects.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24798?

CVE-2022-24798 is a high-severity vulnerability in irrdnet irrd, published on 31 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Internet Routing Registry daemon version 4 is an IRR database server, processing IRR objects in the RPSL format. 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. 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. There are no known workarounds for this issue.

Weakness: CWE-212

Which versions are affected by CVE-2022-24798?

3 open source packages ship an affected version, including irrd. It affects 1 product.

PackageAffectedFixed in
irrd PyPIFrom 4.2.04.2.3
irrd PyPIFrom 4.2.04.2.3
irrd PyPIFrom 4.2.04.2.3

Products include Internet Routing Registry Daemon Project Internet Routing Registry Daemon.

How do I fix CVE-2022-24798?

Upgrade irrd to 4.2.3 or later.

Is CVE-2022-24798 being exploited?

There is no known exploitation of CVE-2022-24798 in the wild and no public exploit code.

Sources

Also known as GHSA-cqxx-66wh-8pjw, PYSEC-2022-178.

Is CVE-2022-24798 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free