ubuntu-cve-2024-42491
Vulnerability from osv_ubuntu
Published
2024-09-05 18:15
Modified
2026-05-20 15:11
Summary
Details

Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.24.3, 20.9.3, and 21.4.3 of Asterisk and versions 18.9-cert12 and 20.7-cert2 of certified-asterisk, if Asterisk attempts to send a SIP request to a URI whose host portion starts with .1 or [.1], and res_resolver_unbound is loaded, Asterisk will crash with a SEGV. To receive a patch, users should upgrade to one of the following versions: 18.24.3, 20.9.3, 21.4.3, certified-18.9-cert12, certified-20.7-cert2. Two workarounds are available. Disable res_resolver_unbound by setting noload = res_resolver_unbound.so in modules.conf, or set rewrite_contact = yes on all PJSIP endpoints. NOTE: This may not be appropriate for all Asterisk configurations.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:13.1.0~dfsg-1.1ubuntu4.1+esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:13.1.0~dfsg-1.1ubuntu3",
        "1:13.1.0~dfsg-1.1ubuntu4",
        "1:13.1.0~dfsg-1.1ubuntu4.1",
        "1:13.1.0~dfsg-1.1ubuntu4.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:13.18.3~dfsg-1ubuntu4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:13.18.3~dfsg-1ubuntu4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:13.17.2~dfsg-1ubuntu1",
        "1:13.17.2~dfsg-2ubuntu1",
        "1:13.18.1~dfsg-1ubuntu1",
        "1:13.18.3~dfsg-1ubuntu1",
        "1:13.18.3~dfsg-1ubuntu2",
        "1:13.18.3~dfsg-1ubuntu3",
        "1:13.18.3~dfsg-1ubuntu4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail-imapstorage",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-voicemail-odbcstorage",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:16.2.1~dfsg-2ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:16.2.1~dfsg-2ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:16.2.1~dfsg-2build2",
        "1:16.2.1~dfsg-2build3",
        "1:16.2.1~dfsg-2ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          },
          {
            "binary_name": "asterisk-vpb",
            "binary_version": "1:18.10.0~dfsg+~cs6.10.40431411-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:18.10.0~dfsg+~cs6.10.40431411-2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:16.16.1~dfsg-2",
        "1:16.16.1~dfsg-4",
        "1:16.16.1~dfsg-4build1",
        "1:16.16.1~dfsg+~2.10-1",
        "1:18.10.0~dfsg+~cs6.10.40431411-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:20.6.0~dfsg+~cs6.13.40431414-2build5?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:20.4.0~dfsg+~cs6.13.40431414-2",
        "1:20.5.0~dfsg+~cs6.13.40431414-1",
        "1:20.5.1~dfsg+~cs6.13.40431414-1",
        "1:20.5.2~dfsg+~cs6.13.40431414-1",
        "1:20.6.0~dfsg+~cs6.13.40431414-1",
        "1:20.6.0~dfsg+~cs6.13.40431414-2",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build3",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build4",
        "1:20.6.0~dfsg+~cs6.13.40431414-2build5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:22.5.2~dfsg+~cs6.15.60671435-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:22.2.0~dfsg+~cs6.15.60671435-2",
        "1:22.3.0~dfsg+~cs6.15.60671435-1",
        "1:22.4.1~dfsg+~cs6.15.60671435-1",
        "1:22.4.1~dfsg+~cs6.15.60671435-2",
        "1:22.5.1~dfsg+~cs6.15.60671435-1",
        "1:22.5.2~dfsg+~cs6.15.60671435-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "asterisk",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-config",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-dahdi",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mobile",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-modules",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mp3",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-mysql",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-ooh323",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          },
          {
            "binary_name": "asterisk-tests",
            "binary_version": "1:22.5.2~dfsg+~cs6.15.60671435-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "asterisk",
        "purl": "pkg:deb/ubuntu/asterisk@1:22.5.2~dfsg+~cs6.15.60671435-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:22.5.2~dfsg+~cs6.15.60671435-1"
      ]
    }
  ],
  "aliases": [],
  "details": "Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.24.3, 20.9.3, and 21.4.3 of Asterisk and versions 18.9-cert12 and 20.7-cert2 of certified-asterisk, if Asterisk attempts to send a SIP request to a URI whose host portion starts with `.1` or `[.1]`, and res_resolver_unbound is loaded, Asterisk will crash with a SEGV. To receive a patch, users should upgrade to one of the following versions: 18.24.3, 20.9.3, 21.4.3, certified-18.9-cert12, certified-20.7-cert2. Two workarounds are available. Disable res_resolver_unbound by setting `noload = res_resolver_unbound.so` in modules.conf, or set `rewrite_contact = yes` on all PJSIP endpoints. NOTE: This may not be appropriate for all Asterisk configurations.",
  "id": "UBUNTU-CVE-2024-42491",
  "modified": "2026-05-20T15:11:31Z",
  "published": "2024-09-05T18:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-42491"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-42491"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-v428-g3cw-7hv9"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/commit/42a2f4ccfa2c7062a15063e765916b3332e34cc4"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/commit/4f01669c7c41c9184f3cce9a3cf1b2ebf6201742"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/commit/50bf8d4d3064930d28ecf1ce3397b14574d514d2"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/commit/7a0090325bfa9d778a39ae5f7d0a98109e4651c8"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/asterisk/asterisk/commit/a15050650abf09c10a3c135fab148220cd41d3a0"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-42491"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…