Lucene search

K
cve[email protected]CVE-2021-33640
HistoryDec 19, 2022 - 4:15 p.m.

CVE-2021-33640

2022-12-1916:15:10
CWE-416
web.nvd.nist.gov
42
cve-2021-33640
libtar.c
use-after-free
memory release
security vulnerability

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

56.7%

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).

Affected configurations

NVD
Node
huaweiopeneulerMatch20.03sp1lts
OR
huaweiopeneulerMatch20.03sp2lts
OR
huaweiopeneulerMatch22.03lts
Node
fedoraprojectfedoraMatch36
OR
fedoraprojectfedoraMatch37

CNA Affected

[
  {
    "vendor": "openEuler",
    "product": "openEuler 22.03 LTS",
    "versions": [
      {
        "version": " libtar 1.2.20-21",
        "status": "affected"
      }
    ]
  },
  {
    "vendor": "openEuler",
    "product": "openEuler 20.03 LTS SP1",
    "versions": [
      {
        "version": " libtar 1.2.20-19",
        "status": "affected"
      }
    ]
  },
  {
    "vendor": "openEuler",
    "product": "openEuler 20.03 LTS SP3",
    "versions": [
      {
        "version": " libtar 1.2.20-19",
        "status": "affected"
      }
    ]
  }
]

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.1 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

56.7%