2022-07-16 00:00:59 +00:00
{
"CVE_data_meta" : {
2022-08-01 21:01:10 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
2022-07-16 00:00:59 +00:00
"ID" : "CVE-2022-35915" ,
2022-08-01 21:01:10 +00:00
"STATE" : "PUBLIC" ,
"TITLE" : "Unbounded gas consumption in @openzeppelin/contracts"
2022-07-16 00:00:59 +00:00
} ,
2022-08-01 21:01:10 +00:00
"affects" : {
"vendor" : {
"vendor_data" : [
{
"product" : {
"product_data" : [
{
"product_name" : "openzeppelin-contracts" ,
"version" : {
"version_data" : [
{
"version_value" : ">=2.0.0 < 4.7.2"
}
]
}
}
]
} ,
"vendor_name" : "OpenZeppelin"
}
]
}
} ,
"data_format" : "MITRE" ,
"data_type" : "CVE" ,
"data_version" : "4.0" ,
2022-07-16 00:00:59 +00:00
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2022-08-01 21:01:10 +00:00
"value" : "OpenZeppelin Contracts is a library for secure smart contract development. The target contract of an EIP-165 `supportsInterface` query can cause unbounded gas consumption by returning a lot of data, while it is generally assumed that this operation has a bounded cost. The issue has been fixed in v4.7.2. Users are advised to upgrade. There are no known workarounds for this issue."
}
]
} ,
"impact" : {
"cvss" : {
"attackComplexity" : "LOW" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "LOW" ,
"baseScore" : 5.3 ,
"baseSeverity" : "MEDIUM" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"privilegesRequired" : "NONE" ,
"scope" : "UNCHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" ,
"version" : "3.1"
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-400: Uncontrolled Resource Consumption"
}
]
2022-07-16 00:00:59 +00:00
}
]
2022-08-01 21:01:10 +00:00
} ,
"references" : {
"reference_data" : [
{
"name" : "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x" ,
"refsource" : "CONFIRM" ,
"url" : "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x"
} ,
{
"name" : "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587" ,
"refsource" : "MISC" ,
"url" : "https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587"
}
]
} ,
"source" : {
"advisory" : "GHSA-7grf-83vw-6f5x" ,
"discovery" : "UNKNOWN"
2022-07-16 00:00:59 +00:00
}
}