Cloudanix VulnDB

CVE-2024-45238

None

CVSS

—

EPSS

0.3%

Published

Aug 24, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in network route validation software can be triggered by a specially crafted data source, causing the validator to crash and potentially allowing incorrect routing information to be accepted.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper handling of a malformed Subject Public Key bit string in an RPKI resource certificate causes an invalid pointer dereference (when built against OpenSSL libcrypto < 3) during certificate parsing from a trusted Trust Anchor descendant, resulting in a crash of the RPKI validator.

Why it matters to the business

Loss of Route Origin Validation availability can allow routing hijacks or leaks that disrupt network reachability and traffic flow for dependent operators.

How an attack unfolds

An attacker publishes a malicious RPKI repository under a trusted Trust Anchor that includes a resource certificate containing an improperly encoded Subject Public Key bit string. A Fort validator fetches the repository via rsync or RRDP, OpenSSL silently accepts the malformed structure, and Fort dereferences an invalid pointer, crashing and disabling validation.

How to fix it

Upgrade nicmx/fort-validator to the commit 554c5fa738791173dbf8261d68b4515708fc70ce or later release that contains the fix (version 1.6.3 or newer). Rebuild against OpenSSL 3.x when possible and verify the binary no longer crashes on the provided test vectors.

How to confirm the fix worked

Confirm the running binary reports version 1.6.3 or contains commit 554c5fa738791173dbf8261d68b4515708fc70ce; replay the malformed certificate test case from the advisory against a non-production instance and verify the process does not crash.

Typical attack path

  1. Attacker creates or compromises an RPKI repository descending from a trusted Trust Anchor
  2. Repository is populated with a resource certificate containing a non-decodable Subject Public Key bit string
  3. Target Fort instance performs a fetch via rsync or RRDP
  4. Certificate parsing occurs without OpenSSL error reporting
  5. Invalid pointer dereference triggers process crash and validation outage

How to detect it

Monitor validator process logs and system crash reports for abrupt terminations during RPKI repository fetches; correlate restarts with rsync or RRDP activity from untrusted or newly observed repositories.

What your security team should do

  • Immediately schedule upgrade of all Fort validator instances to the fixed commit
  • Add the validator process to crash-monitoring and automatic restart procedures
  • Review RPKI fetch logs for repeated failures or restarts coinciding with repository updates
  • Test the patched build with the supplied malformed certificate before production deployment

The record

An issue was discovered in Fort before 1.6.3. A malicious RPKI repository that descends from a (trusted) Trust Anchor can serve (via rsync or RRDP) a resource certificate containing a bit string that doesn't properly decode into a Subject Public Key. OpenSSL does not report this problem during parsing, and when compiled with OpenSSL libcrypto versions below 3, Fort recklessly dereferences the pointer. Because Fort is an RPKI Relying Party, a crash can lead to Route Origin Validation unavailability, which can lead to compromised routing.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 fort-validator 0 No fix
Debian:11 fort-validator 0 1.5.3-1~deb11u2
Debian:12 fort-validator 0 No fix
Debian:13 fort-validator 0 1.6.3-1
Debian:14 fort-validator 0 1.6.3-1
Ubuntu:20.04:LTS fort-validator 0 No fix
Ubuntu:22.04:LTS fort-validator 0 No fix
Ubuntu:22.04:LTS fort-validator 0 1.5.3-1ubuntu0.1
Ubuntu:24.04:LTS fort-validator 0 No fix
Ubuntu:24.10 fort-validator 0 No fix
Ubuntu:Pro:20.04:LTS fort-validator 0 1.2.0-1ubuntu0.1~esm1
Ubuntu:Pro:24.04:LTS fort-validator 0 1.6.1-1ubuntu0.1~esm2

Related vulnerabilities