CVE-2022-1240
CVSS V2 Medium 6.8
CVSS V3 High 7.8
Description
Heap buffer overflow in libr/bin/format/mach0/mach0.c in GitHub repository radareorg/radare2 prior to 5.8.6. If address sanitizer is disabled during the compiling, the program should executes into the `r_str_ncpy` function. Therefore I think it is very likely to be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/122.html).
Overview
- CVE ID
- CVE-2022-1240
- Assigner
- security@huntr.dev
- Vulnerability Status
- Analyzed
- Published Version
- 2022-04-06T11:15:07
- Last Modified Date
- 2022-04-14T18:10:08
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:* | 1 | OR | 5.6.6 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281facc | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-1240 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1240 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:42:51 | Added to TrackCVE | |||
2022-12-06 14:24:07 | 2022-04-06T11:15Z | 2022-04-06T11:15:07 | CVE Published Date | updated |
2022-12-06 14:24:07 | 2022-04-14T18:10:08 | CVE Modified Date | updated | |
2022-12-06 14:24:07 | Analyzed | Vulnerability Status | updated |