Cloudanix VulnDB

CVE-2022-43552

Medium · 5.9

CVSS

5.9

EPSS

2.7%

Published

Feb 9, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A memory-handling mistake in a widely used network tool can let attackers take over or crash programs that move data over the internet.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Other
Component
Library
Class
Use After Free
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

Use-after-free condition in memory management allows dangling pointer access after deallocation, enabling memory corruption or control-flow hijacking during subsequent operations.

Why it matters to the business

Systems relying on the affected library for network transfers face elevated risk of remote compromise or denial of service, with urgency driven by public exploit availability despite low EPSS and absence from KEV.

How an attack unfolds

An attacker supplies crafted input that triggers premature freeing of an object still referenced later in the processing flow; with exploit code available, this can be leveraged to corrupt heap metadata and achieve arbitrary code execution.

How to fix it

Upgrade curl/curl (GIT) to commit c12fb3ddaf48e709a7a4deaa55ec485e4df163ee or later; rebuild and redeploy all dependent applications.

How to confirm the fix worked

Confirm the running binary or library reports a commit hash at or after c12fb3ddaf48e709a7a4deaa55ec485e4df163ee and execute regression tests covering the affected code paths.

Typical attack path

  1. Identify a reachable code path that performs allocation followed by conditional free
  2. Craft input to force the free while retaining a reference
  3. Trigger reuse of the dangling pointer to corrupt memory
  4. Leverage corruption to redirect execution or leak data

How to detect it

Review application and system logs for crashes or heap-related errors around network operations; inspect process memory dumps and core files for signs of corruption after the publication date.

What your security team should do

  • Prioritize patching all instances within 30 days given public exploit maturity
  • Scan build pipelines and package repositories for the vulnerable commit hash
  • Monitor downstream dependents for updated releases incorporating the fix
  • Apply network egress controls on curl-using services until patched

The record

A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proxy. HTTP proxies can (and often do) deny such tunnel operations. When getting denied to tunnel the specific protocols SMB or TELNET, curl would use a heap-allocated struct after it had been freed, in its transfer shutdown code path.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 curl 0 7.61.1-30.el8
AlmaLinux:8 libcurl 0 7.61.1-30.el8
AlmaLinux:8 libcurl-devel 0 7.61.1-30.el8
AlmaLinux:8 libcurl-minimal 0 7.61.1-30.el8
AlmaLinux:9 curl 0 7.76.1-23.el9
AlmaLinux:9 curl-minimal 0 7.76.1-23.el9
AlmaLinux:9 libcurl 0 7.76.1-23.el9
AlmaLinux:9 libcurl-devel 0 7.76.1-23.el9
AlmaLinux:9 libcurl-minimal 0 7.76.1-23.el9
Alpine:v3.14 curl 0 7.79.1-r4
Alpine:v3.15 curl 0 7.80.0-r5
Alpine:v3.16 curl 0 7.83.1-r5
Alpine:v3.17 curl 0 7.87.0-r0
Alpine:v3.18 curl 0 7.87.0-r0
Alpine:v3.19 curl 0 7.87.0-r0
Alpine:v3.20 curl 0 7.87.0-r0
Alpine:v3.21 curl 0 7.87.0-r0
Alpine:v3.22 curl 0 7.87.0-r0
Chainguard curl 0 7.87.0-r0
Chainguard curl-dev 0 7.87.0-r0
Chainguard curl-doc 0 7.87.0-r0
Chainguard curl-oci-entrypoint 0 7.87.0-r0
Chainguard curl-static 0 7.87.0-r0
Chainguard libcurl-openssl4 0 7.87.0-r0
Chainguard libcurl4 0 7.87.0-r0
Debian:10 curl 0 7.64.0-4+deb10u4
Debian:11 curl 0 7.74.0-1.3+deb11u5
Debian:12 curl 0 7.86.0-3
Debian:13 curl 0 7.86.0-3
Mageia:8 curl 0 7.74.0-1.10.mga8
Red Hat:enterprise_linux:7::client curl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::client curl-debuginfo 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::client libcurl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::client libcurl-devel 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::computenode curl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::computenode curl-debuginfo 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::computenode libcurl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::computenode libcurl-devel 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::server curl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::server curl-debuginfo 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::server libcurl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::server libcurl-devel 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::workstation curl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::workstation curl-debuginfo 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::workstation libcurl 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:7::workstation libcurl-devel 0 0:7.29.0-59.el7_9.2
Red Hat:enterprise_linux:8::baseos curl 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos curl-debuginfo 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos curl-debugsource 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos curl-minimal-debuginfo 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos libcurl 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos libcurl-debuginfo 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos libcurl-devel 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:8::baseos libcurl-minimal-debuginfo 0 0:7.61.1-30.el8
Red Hat:enterprise_linux:9::appstream curl 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream curl-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream curl-debugsource 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream curl-minimal 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream curl-minimal-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream libcurl 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream libcurl-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream libcurl-devel 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream libcurl-minimal 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::appstream libcurl-minimal-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos curl 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos curl-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos curl-debugsource 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos curl-minimal 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos curl-minimal-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos libcurl 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos libcurl-debuginfo 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos libcurl-devel 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos libcurl-minimal 0 0:7.76.1-23.el9
Red Hat:enterprise_linux:9::baseos libcurl-minimal-debuginfo 0 0:7.76.1-23.el9
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-debuginfo 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-devel 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-ldap 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-mysql 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-nss 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-odbc 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-openssl 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-pgsql 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-apr-util-sqlite 0 0:1.6.1-101.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-curl 0 0:8.0.1-1.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-curl-debuginfo 0 0:8.0.1-1.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-debuginfo 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-devel 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-manual 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-selinux 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-tools 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-libcurl 0 0:8.0.1-1.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-libcurl-devel 0 0:8.0.1-1.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ldap 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_proxy_html 0 1:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_session 0 0:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ssl 0 1:2.4.51-39.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl-debuginfo 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl-devel 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl-libs 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl-perl 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-openssl-static 0 1:1.1.1k-14.el7jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-devel 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-ldap 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-ldap-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-mysql 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-mysql-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-nss 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-nss-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-odbc 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-odbc-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-openssl 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-openssl-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-pgsql 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-pgsql-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-sqlite 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-apr-util-sqlite-debuginfo 0 0:1.6.1-101.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-curl 0 0:8.0.1-1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-curl-debuginfo 0 0:8.0.1-1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-debuginfo 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-devel 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-manual 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-selinux 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-tools 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-httpd-tools-debuginfo 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl 0 0:8.0.1-1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl-debuginfo 0 0:8.0.1-1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-libcurl-devel 0 0:8.0.1-1.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ldap 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ldap-debuginfo 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_proxy_html 0 1:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_proxy_html-debuginfo 0 1:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_session 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_session-debuginfo 0 0:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ssl 0 1:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-mod_ssl-debuginfo 0 1:2.4.51-39.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-debuginfo 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-devel 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-libs 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-libs-debuginfo 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-perl 0 1:1.1.1k-14.el8jbcs
Red Hat:jboss_core_services:1::el8 jbcs-httpd24-openssl-static 0 1:1.1.1k-14.el8jbcs
Red Hat:rhel_eus:8.6::baseos curl 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos curl-debuginfo 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos curl-debugsource 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos curl-minimal-debuginfo 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos libcurl 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos libcurl-debuginfo 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos libcurl-devel 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos libcurl-minimal 0 0:7.61.1-22.el8_6.12
Red Hat:rhel_eus:8.6::baseos libcurl-minimal-debuginfo 0 0:7.61.1-22.el8_6.12
SUSE:Enterprise Storage 6 curl 0 7.60.0-150000.51.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS curl 0 7.60.0-150000.51.1
SUSE:Linux Enterprise Micro 5.1 curl 0 7.66.0-150200.4.45.1
SUSE:Linux Enterprise Micro 5.2 curl 0 7.66.0-150200.4.45.1
SUSE:Linux Enterprise Micro 5.3 curl 0 7.79.1-150400.5.12.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 curl 0 7.79.1-150400.5.12.1
SUSE:Linux Enterprise Real Time 15 SP3 curl 0 7.66.0-150200.4.45.1
SUSE:Linux Enterprise Server 12 SP4-ESPOS curl 0 7.60.0-4.56.1
SUSE:Linux Enterprise Server 12 SP4-LTSS curl 0 7.60.0-4.56.1
SUSE:Linux Enterprise Server 12 SP5 curl 0 7.60.0-11.52.1
SUSE:Linux Enterprise Server 15 SP1-LTSS curl 0 7.60.0-150000.51.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 curl 0 7.60.0-4.56.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 curl 0 7.60.0-11.52.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 curl 0 7.60.0-150000.51.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 curl 0 7.60.0-11.52.1
SUSE:OpenStack Cloud 9 curl 0 7.60.0-4.56.1
SUSE:OpenStack Cloud Crowbar 9 curl 0 7.60.0-4.56.1
Ubuntu:18.04:LTS curl 0 7.58.0-2ubuntu3.22
Ubuntu:20.04:LTS curl 0 7.68.0-1ubuntu2.15
Ubuntu:22.04:LTS curl 0 7.81.0-1ubuntu1.7
Ubuntu:Pro:14.04:LTS curl 0 7.35.0-1ubuntu2.20+esm14
Ubuntu:Pro:16.04:LTS curl 0 7.47.0-1ubuntu2.19+esm7
Wolfi curl 0 7.87.0-r0
Wolfi curl-dev 0 7.87.0-r0
Wolfi curl-doc 0 7.87.0-r0
Wolfi curl-oci-entrypoint 0 7.87.0-r0
Wolfi curl-static 0 7.87.0-r0
Wolfi libcurl-openssl4 0 7.87.0-r0
Wolfi libcurl4 0 7.87.0-r0
openSUSE:Leap 15.3 curl 0 7.66.0-150200.4.45.1
openSUSE:Leap 15.4 curl 0 7.79.1-150400.5.12.1
openSUSE:Leap Micro 5.2 curl 0 7.66.0-150200.4.45.1
openSUSE:Leap Micro 5.3 curl 0 7.79.1-150400.5.12.1
openSUSE:Tumbleweed curl 0 7.87.0-1.1

Related vulnerabilities