libjpeg-turbo up to 2.0.90 PPM Reader rdppm.c get_word_rgb_row heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in libjpeg-turbo up to 2.0.90. It has been declared as critical. This impacts the function get_word_rgb_row of the file rdppm.c of the component PPM Reader. Such manipulation leads to heap-based overflow.
This vulnerability is documented as CVE-2021-46822. There is not any exploit available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability, which was classified as critical, has been found in libjpeg-turbo up to 2.0.90. Affected by this issue is the function get_word_rgb_row of the file rdppm.c of the component PPM Reader. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. CVE summarizes:
The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the get_word_rgb_row function in rdppm.c.
The weakness was released 06/19/2022 as f35fd27ec641c42d6b115bfa595e483ec58188d2. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2021-46822 since 06/18/2022. There are known technical details, but no exploit is available.
Applying the patch f35fd27ec641c42d6b115bfa595e483ec58188d2 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at X-Force (221567). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- 2.0.10
- 2.0.11
- 2.0.12
- 2.0.13
- 2.0.14
- 2.0.15
- 2.0.16
- 2.0.17
- 2.0.18
- 2.0.19
- 2.0.20
- 2.0.21
- 2.0.22
- 2.0.23
- 2.0.24
- 2.0.25
- 2.0.26
- 2.0.27
- 2.0.28
- 2.0.29
- 2.0.30
- 2.0.31
- 2.0.32
- 2.0.33
- 2.0.34
- 2.0.35
- 2.0.36
- 2.0.37
- 2.0.38
- 2.0.39
- 2.0.40
- 2.0.41
- 2.0.42
- 2.0.43
- 2.0.44
- 2.0.45
- 2.0.46
- 2.0.47
- 2.0.48
- 2.0.49
- 2.0.50
- 2.0.51
- 2.0.52
- 2.0.53
- 2.0.54
- 2.0.55
- 2.0.56
- 2.0.57
- 2.0.58
- 2.0.59
- 2.0.60
- 2.0.61
- 2.0.62
- 2.0.63
- 2.0.64
- 2.0.65
- 2.0.66
- 2.0.67
- 2.0.68
- 2.0.69
- 2.0.70
- 2.0.71
- 2.0.72
- 2.0.73
- 2.0.74
- 2.0.75
- 2.0.76
- 2.0.77
- 2.0.78
- 2.0.79
- 2.0.80
- 2.0.81
- 2.0.82
- 2.0.83
- 2.0.84
- 2.0.85
- 2.0.86
- 2.0.87
- 2.0.88
- 2.0.89
- 2.0.90
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: f35fd27ec641c42d6b115bfa595e483ec58188d2
Timeline
06/18/2022 🔍06/19/2022 🔍
06/19/2022 🔍
06/19/2022 🔍
Sources
Product: github.comAdvisory: f35fd27ec641c42d6b115bfa595e483ec58188d2
Status: Confirmed
CVE: CVE-2021-46822 (🔍)
GCVE (CVE): GCVE-0-2021-46822
GCVE (VulDB): GCVE-100-202376
X-Force: 221567
Entry
Created: 06/19/2022 08:08Changes: 06/19/2022 08:08 (44)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.