CVE-2022-46280
High · 7.8CVSS
7.8
EPSS
0.8%
Published
Jul 21, 2023
CISA due date
—
Cloudanix analysis
A bug in file-handling software lets attackers run their own programs on a victim's computer simply by getting the user to open a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Use of an uninitialized pointer in PQS format pFormat handling allows a specially crafted malformed file to trigger arbitrary code execution via memory corruption.
Why it matters to the business
Successful exploitation grants attackers full control over affected systems processing untrusted files, enabling data theft, ransomware deployment, or lateral movement. With an exploit publicly available more than three years after disclosure, organizations depending on the vulnerable component face persistent targeted attack risk.
How an attack unfolds
An attacker crafts a malicious PQS file that triggers the uninitialized pointer dereference and delivers it via email, web download, or shared storage. When a victim opens the file using the vulnerable application, the flaw is triggered and attacker-controlled code executes with the privileges of the process.
How to fix it
Upgrade github.com/rancher/rancher to version 2.0.16, 2.1.11, or 2.2.5. Remove or isolate any remaining instances of the vulnerable Open Babel 3.1.1 component from build pipelines and runtime environments.
How to confirm the fix worked
Confirm the installed package version matches one of the fixed releases, recompile dependent applications, and test file ingestion with known malformed PQS samples in a controlled environment to verify the pointer issue no longer occurs.
Typical attack path
- Craft a malformed PQS file exploiting the uninitialized pointer
- Deliver the file to the target environment through phishing, downloads, or file shares
- Induce the victim to open the file with the vulnerable application
- Trigger memory corruption leading to arbitrary code execution
How to detect it
Review application and system logs for crashes or unexpected child process creation immediately after PQS file processing. Correlate file-open events with subsequent privilege escalation or network activity.
What your security team should do
- Prioritize upgrade to a fixed Rancher version within 30 days given public exploit availability
- Audit all build and runtime dependencies for Open Babel 3.1.1 usage
- Implement application allow-listing for file parsers and restrict opening of untrusted PQS files
- Update detection rules to monitor for anomalous process behavior during file handling
The record
A use of uninitialized pointer vulnerability exists in the PQS format pFormat functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | openbabel | 0 | No fix |
| Debian:12 | openbabel | 0 | No fix |
| Debian:13 | openbabel | 0 | No fix |
| Ubuntu:16.04:LTS | openbabel | 0 | No fix |
| Ubuntu:18.04:LTS | openbabel | 0 | No fix |
| Ubuntu:20.04:LTS | openbabel | 0 | No fix |
| Ubuntu:22.04:LTS | openbabel | 0 | No fix |
| Ubuntu:24.04:LTS | openbabel | 0 | No fix |
| Ubuntu:24.10 | openbabel | 0 | No fix |
| Ubuntu:25.04 | openbabel | 0 | No fix |
| Ubuntu:25.10 | openbabel | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | openbabel | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | openbabel | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | openbabel | 0 | No fix |
| openSUSE:Leap 16.0 | openbabel | 0 | 3.2.0-bp160.1.1 |
| openSUSE:Tumbleweed | openbabel | 0 | 3.2.0-1.1 |
Related vulnerabilities
- CVE-2022-46294 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-46293 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-46295 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-37331 An out-of-bounds write vulnerability exists in the Gaussian format orientation… Also affects openbabel
- CVE-2022-43607 An out-of-bounds write vulnerability exists in the MOL2 format attribute and value… Also affects openbabel
- CVE-2022-42885 A use of uninitialized pointer vulnerability exists in the GRO format res functionality… Also affects openbabel
- CVE-2022-41793 An out-of-bounds write vulnerability exists in the CSR format title functionality of Open… Also affects openbabel
- CVE-2022-43467 An out-of-bounds write vulnerability exists in the PQS format coord_file functionality of… Also affects openbabel