Skip to content
Heist/ feed
Back to feed
LowFix available

curl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-22924

libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

Products
curl
Affected versions
Not specified
Fixed versions
7.79.1-1
CVEs
CVE-2021-22924
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:19 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-22924

core-osv · Original source

Published 5 Aug 2021, 21:15 UTC

libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.

osv:DEBIAN-CVE-2021-22924

curl

Fixed versions: 7.79.1-1

curl

Fixed versions: 7.79.1-1

curl

Fixed versions: 7.79.1-1

Complete source record
{
  "id": "3755eb2413bf9f713b0914b4dcc064f1c3790fc5077cd667e531d352d8bee913",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-22924",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-22924",
    "summary": "libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.",
    "evidence": "osv:DEBIAN-CVE-2021-22924",
    "products": [
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.79.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.79.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.79.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2021-22924",
      "aliases": [
        "DEBIAN-CVE-2021-22924"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.79.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22924.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.79.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22924.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.79.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22924.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:29.008632823Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-22924"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-22924"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-22924",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327457,
  "published_at": "2021-08-05T21:15:11.38+00:00"
}