{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-26488",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-02-23T23:22:58.575Z",
        "datePublished": "2023-03-03T21:08:34.886Z",
        "dateUpdated": "2024-08-02T11:53:53.676Z"
    },
    "containers": {
        "cna": {
            "title": "OpenZeppelin Contracts contains Incorrect Calculation",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-682",
                            "lang": "en",
                            "description": "CWE-682: Incorrect Calculation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q"
                },
                {
                    "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705"
                },
                {
                    "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2"
                }
            ],
            "affected": [
                {
                    "vendor": "OpenZeppelin",
                    "product": "openzeppelin-contracts",
                    "versions": [
                        {
                            "version": ">= 4.8.0, < 4.8.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-03T21:08:34.886Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OpenZeppelin Contracts is a library for secure smart contract development. The ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and consists of a single token. Subsequent transfers from the receiver of that token may overflow the balance as reported by `balanceOf`. The issue exclusively presents with batches of size 1. The issue has been patched in 4.8.2."
                }
            ],
            "source": {
                "advisory": "GHSA-878m-3g6q-594q",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T11:53:53.676Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q"
                    },
                    {
                        "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705"
                    },
                    {
                        "name": "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2"
                    }
                ]
            }
        ]
    }
}