ID

VAR-202212-1824


CVE

CVE-2021-33640


TITLE

OpenEuler  Vulnerability in using free memory in

Trust: 0.8

sources: JVNDB: JVNDB-2022-003496

DESCRIPTION

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). OpenEuler Exists in a vulnerability related to the use of freed memory.Information is obtained, information is tampered with, and service operation is interrupted. (DoS) It may be in a state

Trust: 1.71

sources: NVD: CVE-2021-33640 // JVNDB: JVNDB-2022-003496 // VULHUB: VHN-393718

AFFECTED PRODUCTS

vendor:fedoraprojectmodel:fedorascope:eqversion:37

Trust: 1.0

vendor:huaweimodel:openeulerscope:eqversion:20.03

Trust: 1.0

vendor:huaweimodel:openeulerscope:eqversion:22.03

Trust: 1.0

vendor:fedoraprojectmodel:fedorascope:eqversion:36

Trust: 1.0

vendor:fedoramodel:fedorascope: - version: -

Trust: 0.8

vendor:huaweimodel:openeulerscope: - version: -

Trust: 0.8

sources: JVNDB: JVNDB-2022-003496 // NVD: CVE-2021-33640

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-33640
value: CRITICAL

Trust: 1.0

securities@openeuler.org: CVE-2021-33640
value: MEDIUM

Trust: 1.0

NVD: CVE-2021-33640
value: CRITICAL

Trust: 0.8

CNNVD: CNNVD-202212-3560
value: CRITICAL

Trust: 0.6

nvd@nist.gov: CVE-2021-33640
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 5.9
version: 3.1

Trust: 1.0

securities@openeuler.org: CVE-2021-33640
baseSeverity: MEDIUM
baseScore: 6.2
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: NONE
integrityImpact: NONE
availabilityImpact: HIGH
exploitabilityScore: 2.5
impactScore: 3.6
version: 3.1

Trust: 1.0

NVD: CVE-2021-33640
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: JVNDB: JVNDB-2022-003496 // CNNVD: CNNVD-202212-3560 // NVD: CVE-2021-33640 // NVD: CVE-2021-33640

PROBLEMTYPE DATA

problemtype:CWE-416

Trust: 1.1

problemtype:Use of freed memory (CWE-416) [NVD evaluation ]

Trust: 0.8

sources: VULHUB: VHN-393718 // JVNDB: JVNDB-2022-003496 // NVD: CVE-2021-33640

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202212-3560

TYPE

resource management error

Trust: 0.6

sources: CNNVD: CNNVD-202212-3560

PATCH

title:CVE-2021-33640url:https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/

Trust: 0.8

title:openEuler Remediation of resource management error vulnerabilitiesurl:http://123.124.177.30/web/xxk/bdxqById.tag?id=219382

Trust: 0.6

sources: JVNDB: JVNDB-2022-003496 // CNNVD: CNNVD-202212-3560

EXTERNAL IDS

db:NVDid:CVE-2021-33640

Trust: 3.3

db:JVNDBid:JVNDB-2022-003496

Trust: 0.8

db:CNNVDid:CNNVD-202212-3560

Trust: 0.6

db:VULHUBid:VHN-393718

Trust: 0.1

sources: VULHUB: VHN-393718 // JVNDB: JVNDB-2022-003496 // CNNVD: CNNVD-202212-3560 // NVD: CVE-2021-33640

REFERENCES

url:https://www.openeuler.org/en/security/cve/detail/?cveid=cve-2021-33640&packagename=libtar

Trust: 1.6

url:https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4s4pjrcjleawn2ekxglsobtl7o57v7nc/

Trust: 1.0

url:https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7wx5ye66ct7y5c2hthxsfdkqwywywj2t/

Trust: 1.0

url:https://nvd.nist.gov/vuln/detail/cve-2021-33640

Trust: 0.8

url:https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4s4pjrcjleawn2ekxglsobtl7o57v7nc/

Trust: 0.7

url:https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7wx5ye66ct7y5c2hthxsfdkqwywywj2t/

Trust: 0.7

url:https://cxsecurity.com/cveshow/cve-2021-33640/

Trust: 0.6

url:https://www.openeuler.org/en/security/cve/detail/?cveid=cve-2021-33640&packagename=libtar

Trust: 0.1

sources: VULHUB: VHN-393718 // JVNDB: JVNDB-2022-003496 // CNNVD: CNNVD-202212-3560 // NVD: CVE-2021-33640

SOURCES

db:VULHUBid:VHN-393718
db:JVNDBid:JVNDB-2022-003496
db:CNNVDid:CNNVD-202212-3560
db:NVDid:CVE-2021-33640

LAST UPDATE DATE

2024-08-14T14:55:06.462000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-393718date:2022-12-29T00:00:00
db:JVNDBid:JVNDB-2022-003496date:2023-02-21T07:32:00
db:CNNVDid:CNNVD-202212-3560date:2022-12-30T00:00:00
db:NVDid:CVE-2021-33640date:2023-11-07T03:35:53.527

SOURCES RELEASE DATE

db:VULHUBid:VHN-393718date:2022-12-19T00:00:00
db:JVNDBid:JVNDB-2022-003496date:2023-02-21T00:00:00
db:CNNVDid:CNNVD-202212-3560date:2022-12-19T00:00:00
db:NVDid:CVE-2021-33640date:2022-12-19T16:15:10.840