{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-5685",
        "assignerOrgId": "596c5446-0ce5-4ba2-aa66-48b3b757a647",
        "state": "PUBLISHED",
        "assignerShortName": "Checkmarx",
        "dateReserved": "2024-06-06T14:26:24.960Z",
        "datePublished": "2024-06-14T09:54:41.433Z",
        "dateUpdated": "2024-08-01T21:18:06.834Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "snipe-it",
                    "repo": "https://github.com/snipe/snipe-it",
                    "vendor": "snipe",
                    "versions": [
                        {
                            "lessThanOrEqual": "v6.4.1",
                            "status": "affected",
                            "version": "v4.6.17",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Davide Ferreira, Checkmarx Research Group"
                }
            ],
            "datePublic": "2024-06-14T09:50:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "Users with \"User:edit\" and \"Self:api\" permissions&nbsp;can promote or demote themselves or other users by performing changes to the group's memberships via API call.<p>This issue affects snipe-it: from v4.6.17 through v6.4.1.</p>"
                        }
                    ],
                    "value": "Users with \"User:edit\" and \"Self:api\" permissions can promote or demote themselves or other users by performing changes to the group's memberships via API call.This issue affects snipe-it: from v4.6.17 through v6.4.1."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 7.6,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-862",
                            "description": "CWE-862 Missing Authorization",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "596c5446-0ce5-4ba2-aa66-48b3b757a647",
                "shortName": "Checkmarx",
                "dateUpdated": "2024-06-19T09:06:46.798Z"
            },
            "references": [
                {
                    "url": "https://github.com/snipe/snipe-it/pull/14745"
                },
                {
                    "url": "https://github.com/snipe/snipe-it/commit/34f1ea1c0ecd403047cd1327569ee391a7201cc1"
                },
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://github.com/snipe/snipe-it/releases/tag/v6.4.2"
                },
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://devhub.checkmarx.com/cve-details/CVE-2024-5685/"
                },
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://advisory.checkmarx.net/?search=CVE-2024-5685"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<span style=\"background-color: rgb(255, 255, 255);\">Update to version v6.4.2 to mitigate the issue.</span>\n\n<br>"
                        }
                    ],
                    "value": "Update to version v6.4.2 to mitigate the issue."
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Broken Function Level Authorization (BFLA) in snipe/snipe-it",
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "snipeitapp",
                        "product": "snipe-it",
                        "cpes": [
                            "cpe:2.3:a:snipeitapp:snipe-it:4.6.17:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unaffected",
                        "versions": [
                            {
                                "version": "4.6.17",
                                "status": "affected",
                                "lessThanOrEqual": "6.4.1",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-12T19:05:09.437942Z",
                                "id": "CVE-2024-5685",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-12T19:09:09.724Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:18:06.834Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/snipe/snipe-it/pull/14745",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/snipe/snipe-it/commit/34f1ea1c0ecd403047cd1327569ee391a7201cc1",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "tags": [
                            "release-notes",
                            "x_transferred"
                        ],
                        "url": "https://github.com/snipe/snipe-it/releases/tag/v6.4.2"
                    },
                    {
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://devhub.checkmarx.com/cve-details/CVE-2024-5685/"
                    },
                    {
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://advisory.checkmarx.net/?search=CVE-2024-5685"
                    }
                ]
            }
        ]
    }
}