CVE-2022-38493
High · 7.5CVSS
7.5
EPSS
0.3%
Published
Aug 20, 2022
CISA due date
—
Cloudanix analysis
A security library can be tricked by specially made encrypted messages into shutting down, which may knock online services offline until fixed.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The library performs RSA-OAEP decryption on a crafted JWE token without first validating the RSA private key length, triggering a crash or resource exhaustion that results in denial of service.
Why it matters to the business
Services that rely on this library for processing encrypted tokens can be disrupted or taken offline by a single malicious request, causing availability loss and potential operational downtime.
How an attack unfolds
An attacker creates a malformed JWE token containing an RSA-OAEP payload with an invalid private key length, then submits it to any endpoint that invokes the vulnerable decryption routine, causing the process to fail without authentication or special privileges.
How to fix it
Upgrade Rhonabwy to version 1.1.7 or later; apply the corresponding fixed package versions for any downstream distributions listed in the affected products.
How to confirm the fix worked
Confirm the installed library version meets or exceeds 1.1.7, then test decryption of both valid and malformed JWE tokens to verify the key-length check prevents crashes.
Typical attack path
- Locate an application endpoint that accepts and decrypts JWE tokens
- Generate a crafted JWE payload with an invalid RSA key length for OAEP
- Transmit the token over the network to trigger the decryption path
- Induce a crash or hang resulting in denial of service
How to detect it
Review application and system logs for unexpected crashes or high resource usage during JWE decryption operations; correlate with incoming requests containing JWE structures around the time of the incident.
What your security team should do
- Prioritize upgrade of the affected library across all instances before the CISA remediation window if applicable
- Add rate limiting and request validation around JWE processing endpoints
- Monitor application logs and process health for sudden terminations during token handling
The record
Rhonabwy 0.9.99 through 1.1.x before 1.1.7 doesn't check the RSA private key length before RSA-OAEP decryption. This allows attackers to cause a Denial of Service via a crafted JWE (JSON Web Encryption) token.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:12 | rhonabwy | 0 | 1.1.7-1 |
| Debian:13 | rhonabwy | 0 | 1.1.7-1 |
| Ubuntu:22.04:LTS | rhonabwy | 0 | No fix |
Related vulnerabilities
- CVE-2022-32096 Rhonabwy before v1.1.5 was discovered to contain a buffer overflow via the component… Also affects rhonabwy
- CVE-2026-81822 The vulnerability, if exploited, could allow a miscreant with read access to PIMBoards… CWE-327
- CVE-2026-16693 IBM i 7.6, 7.5, 7.4, and 7.3 could allow a remote authenticated attacker to obtain… CWE-327
- CVE-2026-81859 CP4BA - IBM Enterprise Records could allow a local attacker to obtain sensitive… CWE-327
- CVE-2026-76133 The affected Ebyte product uses a deprecated hashing algorithm in an… CWE-327
- CVE-2026-39944 Ceph is an open-source distributed storage platform providing object, block, and file… CWE-327
- CVE-2026-78236 An insecure PIN derivation mechanism in ABR allows a low-privileged user to escalate… CWE-327
- CVE-2026-74888 openssl_encrypt versions before 1.4.0 use a non-standard PBKDF2 key derivation… CWE-327