OpenZeppelin/openzeppelin-contracts
_beforeTokenTransfer
contracts/token/ERC721/ERC721.sol
Last patched
Overview
_beforeTokenTransfer in OpenZeppelin/openzeppelin-contracts was changed by 1 published CVE fixes in 2023, in 1 distinct patches that added or removed 13 lines in total.
OpenZeppelin/openzeppelin-contracts has 18 CVEs with a located fix in total, so 6% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed _beforeTokenTransfer, newest first, with the lines each fix touched.
CVE-2023-26488 · lines 470–472 · +2 −11
Medium · CVSS 6.5EPSS 0.7%2023-03-03
Get an alert when the next CVE fix lands in OpenZeppelin/openzeppelin-contracts, with the patched functions.
Monitor openzeppelin-contracts CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in OpenZeppelin/openzeppelin-contracts changed by the most CVE fixes.
All patched functions in OpenZeppelin/openzeppelin-contracts
Frequently asked questions
Common questions about CVE fixes to _beforeTokenTransfer.
- How many CVEs have patched _beforeTokenTransfer?
- 1 published CVEs changed _beforeTokenTransfer in OpenZeppelin/openzeppelin-contracts, in 1 distinct patches totalling 13 changed lines, between 2023 and 2023.
- What is the latest CVE that changed _beforeTokenTransfer?
- CVE-2023-26488 (OpenZeppelin Contracts contains Incorrect Calculation), published 2023-03-03, changed lines 470 to 472 of contracts/token/ERC721/ERC721.sol.
- How does _beforeTokenTransfer compare to the rest of OpenZeppelin/openzeppelin-contracts?
- OpenZeppelin/openzeppelin-contracts has 18 CVEs with a located fix in total; 1 of them changed _beforeTokenTransfer.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- contracts/token/ERC721/ERC721.sol on GitHub (opens in a new tab)
- All patched functions in OpenZeppelin/openzeppelin-contracts
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track OpenZeppelin/openzeppelin-contracts CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.