pycares@4.8.0 vulnerabilities

Python interface for c-ares

  • latest version

    4.9.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    22 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the pycares package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Use After Free

    Affected versions of this package are vulnerable to Use After Free via improper handling of callback references during the destruction of the Channel object. An attacker can cause a fatal interpreter crash by triggering DNS queries that result in the Channel object being garbage collected before the queries complete. This is particularly problematic in scenarios where:

    • Channel objects are created per-request
    • Multiple failed DNS queries are processed rapidly
    • The application doesn't properly manage Channel lifecycle

    Note: This issue is much more likely to occur when using event_thread=True but could happen without it under the right circumstances.

    How to fix Use After Free?

    Upgrade pycares to version 4.9.0 or higher.

    [,4.9.0)