ubuntu-cve-2024-6126
Vulnerability from osv_ubuntu
Published
2024-07-03 15:15
Modified
2025-10-24 05:06
Summary
Details

A flaw was found in the cockpit package. This flaw allows an authenticated user to kill any process when enabling the pam_env's user_readenv option, which leads to a denial of service (DoS) attack.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cockpit",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-bridge",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-dashboard",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-docker",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-machines",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-networkmanager",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-packagekit",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-storaged",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-system",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-tests",
            "binary_version": "164-1"
          },
          {
            "binary_name": "cockpit-ws",
            "binary_version": "164-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "cockpit",
        "purl": "pkg:deb/ubuntu/cockpit@164-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "151-1",
        "156-1",
        "157-1",
        "158-1",
        "160-1",
        "161-1",
        "162-1",
        "163-1",
        "164-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cockpit",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-bridge",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-dashboard",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-machines",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-networkmanager",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-packagekit",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-pcp",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-storaged",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-system",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-tests",
            "binary_version": "215-1"
          },
          {
            "binary_name": "cockpit-ws",
            "binary_version": "215-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "cockpit",
        "purl": "pkg:deb/ubuntu/cockpit@215-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "202.1-1",
        "204-1",
        "206-1",
        "207-1",
        "208-1",
        "210-1",
        "211-1",
        "212-1",
        "213-1",
        "214.1-1",
        "215-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cockpit",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-bridge",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-networkmanager",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-packagekit",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-pcp",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-sosreport",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-storaged",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-system",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-tests",
            "binary_version": "264-1ubuntu0.22.04.1"
          },
          {
            "binary_name": "cockpit-ws",
            "binary_version": "264-1ubuntu0.22.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "cockpit",
        "purl": "pkg:deb/ubuntu/cockpit@264-1ubuntu0.22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "252-1",
        "256-1",
        "257-1",
        "258-1",
        "259-1",
        "260-1",
        "261-1",
        "262-1",
        "263-1",
        "264-1",
        "264-1ubuntu0.22.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cockpit",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-bridge",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-networkmanager",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-packagekit",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-pcp",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-sosreport",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-storaged",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-system",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-tests",
            "binary_version": "314-1"
          },
          {
            "binary_name": "cockpit-ws",
            "binary_version": "314-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "cockpit",
        "purl": "pkg:deb/ubuntu/cockpit@314-1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "300.1-1",
        "303-1",
        "304-1",
        "305-1",
        "306-1",
        "307-1",
        "308-1",
        "309-1",
        "310.1-1",
        "311-1",
        "312-1build2",
        "314-1"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in the cockpit package. This flaw allows an authenticated user to kill any process when enabling the pam_env\u0027s user_readenv option, which leads to a denial of service (DoS) attack.",
  "id": "UBUNTU-CVE-2024-6126",
  "modified": "2025-10-24T05:06:45Z",
  "published": "2024-07-03T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-6126"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-6126"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2292897"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2290859"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2024-6126"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-6126"
  ]
}



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…