Use after free in openEuler 22.03 LTS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) . As a result, the released memory is used (use-after-free).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| openEuler | openEuler 22.03 LTS | libtar 1.2.20-21 | — | No fix listed | CNA |
| openEuler | openEuler 20.03 LTS SP1 | libtar 1.2.20-19 | — | No fix listed | CNA |
| openEuler | openEuler 20.03 LTS SP3 | libtar 1.2.20-19 | — | No fix listed | CNA |
- openEuler 22.03 LTS VendoropenEuler Affected libtar 1.2.20-21 Fixed in — No fix listed CNA
- openEuler 20.03 LTS SP1 VendoropenEuler Affected libtar 1.2.20-19 Fixed in — No fix listed CNA
- openEuler 20.03 LTS SP3 VendoropenEuler Affected libtar 1.2.20-19 Fixed in — No fix listed CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:* | 20.03 sp1 | Vulnerable | Openatom |
| cpe:2.3:o:openatom:openeuler:20.03:sp2:*:*:lts:*:*:* | 20.03 sp2 | Vulnerable | Openatom |
| cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:* | 22.03 | Vulnerable | Openatom |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
- cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:* Versions 20.03 sp1 Vulnerable ·Openatom
- cpe:2.3:o:openatom:openeuler:20.03:sp2:*:*:lts:*:*:* Versions 20.03 sp2 Vulnerable ·Openatom
- cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:* Versions 22.03 Vulnerable ·Openatom
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-33640
- 2026-10-03 Alias added: GHSA-pjrv-5vw3-5frj
References
More openEuler vulnerabilities
- TI-2024-16407 Remote command execution in A-Tune-Collector CVSS 3.1HIGH 8.1
- TI-2025-22539 The giflib open-source component has a buffer overflow vulnerability CVSS 3.1HIGH 7.3
- TI-2021-13009 Pull malicious images may cause process to be hijacked CVSS 3.1CRITICAL 9.8
- TI-2024-16404 Command injection in ioprobe of gala-gopher CVSS 3.1HIGH 7.8
- TI-2024-16409 Command injection in aops-zeus CVSS 3.1HIGH 7.2
- TI-2024-16406 Unauthorized RCE in migration-tools CVSS 3.1HIGH 8.1
Sources
- CVE-2021-33640 · CVE Program
- CVE-2021-33640 · NVD
- FIRST EPSS
- GHSA-pjrv-5vw3-5frj · GitHub Advisory Database · CC BY 4.0
- CVE-2021-33640 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences