Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for aiodns by aio-libs

    CVE-2025-48945 (GCVE-0-2025-48945)

    Vulnerability from nvd – Published: 2025-06-20 19:14 – Updated: 2025-06-20 20:06
    VLAI
    Title
    pycares has a Use-After-Free Vulnerability
    Summary
    pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    Assigner
    Impacted products
    Vendor Product Version
    aio-libs aiodns Affected: < 4.9.0
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-48945",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-06-20T20:05:50.595661Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-20T20:06:23.612Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "aiodns",
              "vendor": "aio-libs",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 4.9.0"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416: Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-06-20T19:14:27.403Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35"
            },
            {
              "name": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35"
            },
            {
              "name": "https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55"
            },
            {
              "name": "https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4"
            },
            {
              "name": "https://github.com/aio-libs/aiodns/releases/tag/v3.5.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/aio-libs/aiodns/releases/tag/v3.5.0"
            },
            {
              "name": "https://github.com/saghul/pycares/releases/tag/v4.9.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/releases/tag/v4.9.0"
            }
          ],
          "source": {
            "advisory": "GHSA-5qpg-rh4j-qp35",
            "discovery": "UNKNOWN"
          },
          "title": "pycares has a Use-After-Free Vulnerability"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2025-48945",
        "datePublished": "2025-06-20T19:14:27.403Z",
        "dateReserved": "2025-05-28T18:49:07.582Z",
        "dateUpdated": "2025-06-20T20:06:23.612Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2025-48945 (GCVE-0-2025-48945)

    Vulnerability from cvelistv5 – Published: 2025-06-20 19:14 – Updated: 2025-06-20 20:06
    VLAI
    Title
    pycares has a Use-After-Free Vulnerability
    Summary
    pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    Assigner
    Impacted products
    Vendor Product Version
    aio-libs aiodns Affected: < 4.9.0
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-48945",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-06-20T20:05:50.595661Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-06-20T20:06:23.612Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "aiodns",
              "vendor": "aio-libs",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 4.9.0"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "pycares is a Python module which provides an interface to c-ares. c-ares is a C library that performs DNS requests and name resolutions asynchronously. Prior to version 4.9.0, pycares is vulnerable to a use-after-free condition that occurs when a Channel object is garbage collected while DNS queries are still pending. This results in a fatal Python error and interpreter crash. The vulnerability has been fixed in pycares 4.9.0 by implementing a safe channel destruction mechanism."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416: Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-06-20T19:14:27.403Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35"
            },
            {
              "name": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/security/advisories/GHSA-5qpg-rh4j-qp35"
            },
            {
              "name": "https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/aio-libs/aiodns/commit/f259a6e3650555157af53ac2b39f2ff545321d55"
            },
            {
              "name": "https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/commit/ebfd7d71eb8e74bc1057a361ea79a5906db510d4"
            },
            {
              "name": "https://github.com/aio-libs/aiodns/releases/tag/v3.5.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/aio-libs/aiodns/releases/tag/v3.5.0"
            },
            {
              "name": "https://github.com/saghul/pycares/releases/tag/v4.9.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/saghul/pycares/releases/tag/v4.9.0"
            }
          ],
          "source": {
            "advisory": "GHSA-5qpg-rh4j-qp35",
            "discovery": "UNKNOWN"
          },
          "title": "pycares has a Use-After-Free Vulnerability"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2025-48945",
        "datePublished": "2025-06-20T19:14:27.403Z",
        "dateReserved": "2025-05-28T18:49:07.582Z",
        "dateUpdated": "2025-06-20T20:06:23.612Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }