usn-7091-2
Vulnerability from osv_ubuntu
Published
2024-11-21 03:39
Modified
2026-04-27 14:11
Summary
ruby2.7 vulnerabilities
Details

USN-7091-1 fixed several vulnerabilities in Ruby. This update provides the corresponding update for CVE-2024-35176, CVE-2024-41123, CVE-2024-41946 and CVE-2024-49761 for ruby2.7 in Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that Ruby incorrectly handled parsing of an XML document that has specific XML characters in an attribute value using REXML gem. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. This issue only affected in Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-35176, CVE-2024-39908, CVE-2024-41123)

It was discovered that Ruby incorrectly handled parsing of an XML document that has many entity expansions with SAX2 or pull parser API. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. (CVE-2024-41946)

It was discovered that Ruby incorrectly handled parsing of an XML document that has many digits in a hex numeric character reference. An attacker could use this issue to cause Ruby to crash, resulting in a denial of service. (CVE-2024-49761)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-41946",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-49761",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U",
                  "type": "CVSS_V4"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libruby2.7",
            "binary_version": "2.7.0-5ubuntu1.15"
          },
          {
            "binary_name": "ruby2.7",
            "binary_version": "2.7.0-5ubuntu1.15"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "ruby2.7",
        "purl": "pkg:deb/ubuntu/ruby2.7@2.7.0-5ubuntu1.15?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.0-5ubuntu1.15"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.0-1",
        "2.7.0-2",
        "2.7.0-3",
        "2.7.0-4",
        "2.7.0-4ubuntu1",
        "2.7.0-5ubuntu1",
        "2.7.0-5ubuntu1.1",
        "2.7.0-5ubuntu1.2",
        "2.7.0-5ubuntu1.3",
        "2.7.0-5ubuntu1.4",
        "2.7.0-5ubuntu1.5",
        "2.7.0-5ubuntu1.6",
        "2.7.0-5ubuntu1.7",
        "2.7.0-5ubuntu1.8",
        "2.7.0-5ubuntu1.9",
        "2.7.0-5ubuntu1.10",
        "2.7.0-5ubuntu1.11",
        "2.7.0-5ubuntu1.12",
        "2.7.0-5ubuntu1.13",
        "2.7.0-5ubuntu1.14"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-7091-1 fixed several vulnerabilities in Ruby. This update provides the\ncorresponding update for CVE-2024-35176, CVE-2024-41123, CVE-2024-41946 and \nCVE-2024-49761 for ruby2.7 in Ubuntu 20.04 LTS.\n\nOriginal advisory details:\n\n It was discovered that Ruby incorrectly handled parsing of an XML document\n that has specific XML characters in an attribute value using REXML gem. An\n attacker could use this issue to cause Ruby to crash, resulting in a\n denial of service. This issue only affected in Ubuntu 22.04 LTS and Ubuntu\n 24.04 LTS. (CVE-2024-35176, CVE-2024-39908, CVE-2024-41123)\n \n It was discovered that Ruby incorrectly handled parsing of an XML document\n that has many entity expansions with SAX2 or pull parser API. An attacker\n could use this issue to cause Ruby to crash, resulting in a denial of\n service. (CVE-2024-41946)\n \n It was discovered that Ruby incorrectly handled parsing of an XML document\n that has many digits in a hex numeric character reference. An attacker\n could use this issue to cause Ruby to crash, resulting in a denial of\n service. (CVE-2024-49761)\n",
  "id": "USN-7091-2",
  "modified": "2026-04-27T14:11:37Z",
  "published": "2024-11-21T03:39:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7091-2"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-35176"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-41123"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-41946"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-49761"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2086615"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "ruby2.7 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2024-35176",
    "UBUNTU-CVE-2024-41123",
    "UBUNTU-CVE-2024-41946",
    "UBUNTU-CVE-2024-49761"
  ]
}



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…