Skip to content
This page tracks the Alpine Linux fix status. The vulnerability itself is described on the main CVE page. View CVE-2022-42915 →
Unrated

Vulnerability in curl

ALPINE-CVE-2022-42915 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as ALPINE-CVE-2022-42915 has been found in curl.
Successful exploitation can lead to full system takeover.
What to do: upgrade curl to 7.80.0-r4 or later.
If unsure, ask your IT team or search "curl ALPINE-CVE-2022-42915" on the vendor's site.

ALPINE-CVE-2022-42915 (curl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 7.80.0-r4 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (unclassified) exists in curl.

Affected scope

Check the vendor advisory for the affected versions of curl.

Severity

Severity: ?. Successful exploitation can lead to full system takeover.

How to fix

Update to 7.80.0-r4.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'curl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'curl' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で curl を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade curl to 7.80.0-r4

    ステージング環境で 7.80.0-r4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Alpine:v3.15curl
≥ 7.77.0, < 7.80.0-r4→ 7.80.0-r4
Alpine:v3.16curl
≥ 7.77.0, < 7.83.1-r4→ 7.83.1-r4
Alpine:v3.17curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.18curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.19curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.20curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.21curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.22curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.23curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Alpine:v3.24curl
≥ 7.77.0, < 7.86.0-r0→ 7.86.0-r0
Original description The description as published by the source.

curl before 7.86.0 has a double free. If curl is told to use an HTTP proxy for a transfer with a non-HTTP(S) URL, it sets up the connection to the remote server by issuing a CONNECT request to the proxy, and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request (HTTP proxies often only allow outgoing connections to specific port numbers, like 443 for HTTPS) and instead return a non-200 status code to the client. Due to flaws in the error/cleanup handling, this could trigger a double free in curl if one of the following schemes were used in the URL for the transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet. The earliest affected version is 7.77.0.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details