Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/53024?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53024?format=api",
    "vulnerability_id": "VCID-k9md-c96w-7kg1",
    "summary": "HashiCorp Nomad Artifact Download Race Condition\nHashiCorp Nomad and Nomad Enterprise 0.3.0 through 1.0.17, 1.1.11, and 1.2.5 artifact download functionality has a race condition such that the Nomad client agent could download the wrong artifact into the wrong destination. This issue is fixed in 1.0.18, 1.1.12, and 1.2.6.",
    "aliases": [
        {
            "alias": "CVE-2022-24686"
        },
        {
            "alias": "GHSA-gwmc-6795-qghj"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432610?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=armhf&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=armhf&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432609?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=aarch64&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=aarch64&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432611?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=armv7&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=armv7&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432612?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=ppc64le&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=ppc64le&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432613?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=s390x&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=s390x&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432614?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=x86&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=x86&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/432615?format=api",
            "purl": "pkg:apk/alpine/nomad@1.1.12-r0?arch=x86_64&distroversion=v3.15&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.1.12-r0%3Farch=x86_64&distroversion=v3.15&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386041?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=aarch64&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=aarch64&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465812?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86_64&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86_64&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386046?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386047?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86_64&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86_64&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442616?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=s390x&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=s390x&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442617?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442618?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86_64&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86_64&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465807?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armhf&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armhf&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386042?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armhf&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armhf&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386043?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armv7&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armv7&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386044?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=ppc64le&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=ppc64le&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/386045?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=s390x&distroversion=v3.16&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=s390x&distroversion=v3.16&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442612?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=aarch64&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=aarch64&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442613?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armhf&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armhf&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442614?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armv7&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armv7&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/442615?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=ppc64le&distroversion=v3.17&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=ppc64le&distroversion=v3.17&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465806?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=aarch64&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=aarch64&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465808?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=armv7&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=armv7&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465809?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=ppc64le&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=ppc64le&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465810?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=s390x&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=s390x&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/465811?format=api",
            "purl": "pkg:apk/alpine/nomad@1.2.6-r0?arch=x86&distroversion=v3.18&reponame=community",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/nomad@1.2.6-r0%3Farch=x86&distroversion=v3.18&reponame=community"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80675?format=api",
            "purl": "pkg:golang/github.com/hashicorp/nomad@1.0.18",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/nomad@1.0.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80676?format=api",
            "purl": "pkg:golang/github.com/hashicorp/nomad@1.1.12",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/nomad@1.1.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80677?format=api",
            "purl": "pkg:golang/github.com/hashicorp/nomad@1.2.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/nomad@1.2.6"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24686",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57929",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57827",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57882",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57884",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.579",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57879",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57858",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57887",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57864",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57823",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57842",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57824",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57779",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57885",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57862",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57833",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00356",
                    "scoring_system": "epss",
                    "scoring_elements": "0.57854",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-24686"
        },
        {
            "reference_url": "https://discuss.hashicorp.com",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2022-01-nomad-artifact-download-race-condition/35559"
        },
        {
            "reference_url": "https://github.com/hashicorp/nomad",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/nomad"
        },
        {
            "reference_url": "https://github.com/hashicorp/nomad/issues/12036",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/nomad/issues/12036"
        },
        {
            "reference_url": "https://github.com/hashicorp/nomad/releases/tag/v1.2.6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/nomad/releases/tag/v1.2.6"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24686",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24686"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20220318-0008",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20220318-0008"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 362,
            "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
            "description": "The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k9md-c96w-7kg1"
}