CVE-2022-35883
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Feb 16, 2023
CISA due date
—
Cloudanix analysis
A flaw in a common Markdown processing tool can let a logged-in user on the same computer crash the program handling documents, briefly stopping related services until restarted.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in the cmark-gfm Markdown parser causes a crash when specially crafted input is processed, resulting in denial of service.
Why it matters to the business
Applications or services relying on cmark-gfm for parsing user-supplied Markdown can be crashed by authenticated local users, leading to temporary loss of functionality and potential operational disruption.
How an attack unfolds
An authenticated local user supplies crafted Markdown content to the vulnerable cmark-gfm library, triggering the NULL pointer dereference and crashing the process handling the input.
How to fix it
Upgrade github/cmark-gfm to the fixed commit 2300c1bd2c8226108885bf019655c4159cf26b59 or later.
How to confirm the fix worked
Confirm the installed version of cmark-gfm is at or beyond commit 2300c1bd2c8226108885bf019655c4159cf26b59; test parsing of known triggering inputs to verify no crash occurs.
Typical attack path
- Identify a target process or service that uses the vulnerable cmark-gfm library for Markdown parsing.
- Craft malicious Markdown input designed to trigger the NULL pointer dereference.
- Submit the input locally as an authenticated user to cause the application to crash.
How to detect it
Review application and system logs for unexpected crashes or segmentation faults in processes using cmark-gfm; examine recent Markdown parsing activity preceding any outages.
What your security team should do
- Prioritize upgrade of all cmark-gfm instances to the fixed commit within standard change windows.
- Review dependencies to identify all downstream usages of cmark-gfm and schedule updates accordingly.
- Monitor for any new exploit code or increased EPSS scores post-publication.
The record
NULL pointer dereference in the Intel(R) Media SDK software before version 22.2.2 may allow an authenticated user to potentially enable denial of service via local access.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | intel-mediasdk | 0 | No fix |
| Debian:12 | intel-mediasdk | 0 | 22.3.0-1 |
| Debian:13 | intel-mediasdk | 0 | 22.3.0-1 |
| Ubuntu:20.04:LTS | intel-mediasdk | 0 | No fix |
| Ubuntu:22.04:LTS | intel-mediasdk | 0 | 22.3.0-1 |
| Ubuntu:24.04:LTS | intel-mediasdk | 0 | 22.5.4-1 |
| Ubuntu:24.10 | intel-mediasdk | 0 | 22.5.4-1ubuntu1 |
| Ubuntu:Pro:20.04:LTS | intel-mediasdk | 0 | No fix |
Related vulnerabilities
- CVE-2024-28051 Out-of-bounds read in some Intel(R) VPL software before version 24.1.4 may allow an… Also affects intel-mediasdk
- CVE-2024-28030 NULL pointer dereference in some Intel(R) VPL software before version 24.1.4 may allow an… Also affects intel-mediasdk
- CVE-2024-21808 Improper buffer restrictions in some Intel(R) VPL software before version 24.1.4 may… Also affects intel-mediasdk
- CVE-2024-21783 Integer overflow for some Intel(R) VPL software before version 24.1.4 may allow an… Also affects intel-mediasdk
- CVE-2023-48368 Improper input validation in Intel(R) Media SDK software all versions may allow an… Also affects intel-mediasdk
- CVE-2023-48727 NULL pointer dereference in some Intel(R) oneVPL software before version 23.3.5 may allow… Also affects intel-mediasdk
- CVE-2023-47169 Improper buffer restrictions in Intel(R) Media SDK software all versions may allow an… Also affects intel-mediasdk
- CVE-2023-47282 Out-of-bounds write in Intel(R) Media SDK all versions and some Intel(R) oneVPL software… Also affects intel-mediasdk