CVE-2021-3518 - Use After Free

Severity

88%

Complexity

27%

Confidentiality

98%

There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.

CVSS 3.1 Base Score 8.8. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

CVSS 2.0 Base Score 6.8. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:P/I:P/A:P).

Demo Examples

Use After Free

CWE-416

The following example demonstrates the weakness.


               
}
free(buf3R2);

Use After Free

CWE-416

The following code illustrates a use after free error:


               
}
free(ptr);
logError("operation aborted before commit", ptr);

When an error occurs, the pointer is immediately freed. However, this pointer is later incorrectly used in the logError function.

Overview

First reported 3 years ago

2021-05-18 12:15:00

Last updated 3 years ago

2021-12-09 21:30:00

Affected Software

XMLSoft Libxml2

Debian Linux 9.0

9.0

Red Hat JBoss Core Services

Red Hat Enterprise Linux 8.0

8.0

NetApp Active IQ Unified Manager for VMware vSphere

vmware_vsphere

NetApp ONTAP Select Deploy Administration Utility

References

FEDORA-2021-e3ed1ba38b

[debian-lts-announce] 20210510 [SECURITY] [DLA 2653-1] libxml2 security update

https://bugzilla.redhat.com/show_bug.cgi?id=1954242

FEDORA-2021-e3ed1ba38b

Mailing List, Third Party Advisory

[debian-lts-announce] 20210510 [SECURITY] [DLA 2653-1] libxml2 security update

Mailing List, Third Party Advisory

https://bugzilla.redhat.com/show_bug.cgi?id=1954242

Issue Tracking, Patch, Third Party Advisory

FEDORA-2021-b950000d2b

https://security.netapp.com/advisory/ntap-20210625-0002/

[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8

[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8

GLSA-202107-05

https://support.apple.com/kb/HT212604

https://support.apple.com/kb/HT212605

https://support.apple.com/kb/HT212602

https://support.apple.com/kb/HT212601

20210723 APPLE-SA-2021-07-21-2 macOS Big Sur 11.5

20210723 APPLE-SA-2021-07-21-1 iOS 14.7 and iPadOS 14.7

20210723 APPLE-SA-2021-07-21-5 watchOS 7.6

20210723 APPLE-SA-2021-07-21-6 tvOS 14.7

FEDORA-2021-b950000d2b

Mailing List, Third Party Advisory

https://security.netapp.com/advisory/ntap-20210625-0002/

Third Party Advisory

[bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8

Third Party Advisory

[bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8

Third Party Advisory

GLSA-202107-05

Third Party Advisory

https://support.apple.com/kb/HT212604

Third Party Advisory

https://support.apple.com/kb/HT212605

Third Party Advisory

https://support.apple.com/kb/HT212602

Third Party Advisory

https://support.apple.com/kb/HT212601

Third Party Advisory

20210723 APPLE-SA-2021-07-21-2 macOS Big Sur 11.5

Third Party Advisory

20210723 APPLE-SA-2021-07-21-1 iOS 14.7 and iPadOS 14.7

Third Party Advisory

20210723 APPLE-SA-2021-07-21-5 watchOS 7.6

Third Party Advisory

20210723 APPLE-SA-2021-07-21-6 tvOS 14.7

Third Party Advisory

https://www.oracle.com/security-alerts/cpuoct2021.html

20210723 APPLE-SA-2021-07-21-2 macOS Big Sur 11.5

Mailing List, Third Party Advisory

20210723 APPLE-SA-2021-07-21-1 iOS 14.7 and iPadOS 14.7

Mailing List, Third Party Advisory

20210723 APPLE-SA-2021-07-21-5 watchOS 7.6

Mailing List, Third Party Advisory

20210723 APPLE-SA-2021-07-21-6 tvOS 14.7

Mailing List, Third Party Advisory

https://www.oracle.com/security-alerts/cpuoct2021.html

Patch, Third Party Advisory

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.