usn-6838-1
Vulnerability from osv_ubuntu
Published
2024-06-17 14:24
Modified
2026-04-27 14:11
Summary
ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities
Details

It was discovered that Ruby RDoc incorrectly parsed certain YAML files. If a user or automated system were tricked into parsing a specially crafted .rdoc_options file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281)

It was discovered that the Ruby regex compiler incorrectly handled certain memory operations. A remote attacker could possibly use this issue to obtain sensitive memory contents. (CVE-2024-27282)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-27281",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-27282",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "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.13"
          },
          {
            "binary_name": "ruby2.7",
            "binary_version": "2.7.0-5ubuntu1.13"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "ruby2.7",
        "purl": "pkg:deb/ubuntu/ruby2.7@2.7.0-5ubuntu1.13?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.0-5ubuntu1.13"
            }
          ],
          "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"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-27281",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-27282",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libruby3.0",
            "binary_version": "3.0.2-7ubuntu2.6"
          },
          {
            "binary_name": "ruby3.0",
            "binary_version": "3.0.2-7ubuntu2.6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "ruby3.0",
        "purl": "pkg:deb/ubuntu/ruby3.0@3.0.2-7ubuntu2.6?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.0.2-7ubuntu2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.2-5ubuntu1",
        "3.0.2-7",
        "3.0.2-7ubuntu2",
        "3.0.2-7ubuntu2.1",
        "3.0.2-7ubuntu2.2",
        "3.0.2-7ubuntu2.3",
        "3.0.2-7ubuntu2.4",
        "3.0.2-7ubuntu2.5"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-27281",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-27282",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libruby3.2",
            "binary_version": "3.2.3-1ubuntu0.24.04.1"
          },
          {
            "binary_name": "ruby3.2",
            "binary_version": "3.2.3-1ubuntu0.24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "ruby3.2",
        "purl": "pkg:deb/ubuntu/ruby3.2@3.2.3-1ubuntu0.24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.2.3-1ubuntu0.24.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.3-1",
        "3.2.3-1build2",
        "3.2.3-1build3"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Ruby RDoc incorrectly parsed certain YAML files. If\na user or automated system were tricked into parsing a specially crafted\n.rdoc_options file, a remote attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2024-27281)\n\nIt was discovered that the Ruby regex compiler incorrectly handled certain\nmemory operations. A remote attacker could possibly use this issue to\nobtain sensitive memory contents. (CVE-2024-27282)\n",
  "id": "USN-6838-1",
  "modified": "2026-04-27T14:11:34Z",
  "published": "2024-06-17T14:24:17Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6838-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-27281"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-27282"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2024-27281",
    "UBUNTU-CVE-2024-27282"
  ]
}



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…