{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-9902",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-9902",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-11-06T09:56:54.505Z",
    "updatedAt": "2025-11-06T23:17:23.106Z",
    "importedAt": "2026-10-24T01:57:24.991Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Ansible-core: ansible-core user may read/write unauthorized content",
      "summary": "A flaw was found in Ansible. The ansible-core `user` module can allow an unprivileged user to silently create or replace the contents of any file on any system path and take ownership of it when a privileged user executes the `user` module against the unprivileged user's home directory. If the unprivileged user has traversal permissions on the directory containing the exploited target file, they retain full control over the contents of the file as its owner.",
      "affected": [
        {
          "packageName": "ansible-core",
          "collectionURL": "https://github.com/ansible/ansible",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "2.14.18rc1"
            },
            {
              "version": "2.15.0b1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "2.15.13rc1"
            },
            {
              "version": "2.16.0b1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "2.16.13rc1"
            },
            {
              "version": "2.17.0b1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "2.17.6rc1"
            },
            {
              "version": "2.18.0b1",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "2.18.0rc2"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Ansible Automation Platform Execution Environments",
          "packageName": "ansible-automation-platform/ansible-builder-rhel8",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.0.1-96",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Ansible Automation Platform Execution Environments",
          "packageName": "ansible-automation-platform/ansible-builder-rhel9",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.0.1-95",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Ansible Automation Platform Execution Environments",
          "packageName": "ansible-automation-platform/ee-29-rhel8",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.9.27-32",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Ansible Automation Platform Execution Environments",
          "packageName": "ansible-automation-platform/ee-minimal-rhel8",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.14.13-21",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Ansible Automation Platform Execution Environments",
          "packageName": "ansible-automation-platform/ee-minimal-rhel9",
          "collectionURL": "https://catalog.redhat.com/software/containers/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.17.6-2",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 8",
          "packageName": "ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "1:2.15.13-1.el8ap",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.4 for RHEL 9",
          "packageName": "ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "1:2.15.13-1.el9ap",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
          "packageName": "ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "1:2.16.13-1.el8ap",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
          "packageName": "ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "1:2.16.13-1.el9ap",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat OpenStack Platform 17.1 for RHEL 9",
          "packageName": "openstack-ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "0:2.14.2-4.6.el9ost",
              "status": "unaffected",
              "versionType": "rpm",
              "lessThan": "*"
            }
          ]
        },
        {
          "vendor": "Red Hat",
          "product": "Red Hat Enterprise Linux 10",
          "packageName": "ansible-core",
          "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
          "defaultStatus": "unaffected",
          "versions": []
        }
      ]
    }
  }
}