{"id":"CVE-2021-21704","state":"PUBLISHED","title":"Multiple vulnerabilities in Firebird client extension","description":"In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption.","publishedAt":"2021-10-04T04:00:13.838Z","updatedAt":"2024-09-17T00:45:32.187Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.29","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.21","versionType":"custom"},{"version":"8.0.X","status":"affected","lessThan":"8.0.8","versionType":"custom"}]}],"references":["https://bugs.php.net/bug.php?id=76448","https://bugs.php.net/bug.php?id=76449","https://bugs.php.net/bug.php?id=76450","https://bugs.php.net/bug.php?id=76452","https://security.netapp.com/advisory/ntap-20211029-0006/","https://security.gentoo.org/glsa/202209-20"],"weaknesses":["CWE-125","CWE-190"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21704.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21704","state":"PUBLISHED","datePublished":"2021-10-04T04:00:13.838Z","dateUpdated":"2024-09-17T00:45:32.187Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2021-01-04T00:00:00.000Z"},"containers":{"cna":{"title":"Multiple vulnerabilities in Firebird client extension","descriptions":[{"lang":"en","value":"In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption."}],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.29","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.21","versionType":"custom"},{"version":"8.0.X","status":"affected","lessThan":"8.0.8","versionType":"custom"}]}],"references":[{"url":"https://bugs.php.net/bug.php?id=76448","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=76449","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=76450","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=76452","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202209-20","name":"GLSA-202209-20","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2022-09-29T16:06:51.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"credits":[{"lang":"en","value":"reported by trichimtrich at gmail dot com"}],"datePublic":"2021-06-21T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=76448","https://bugs.php.net/bug.php?id=76449","https://bugs.php.net/bug.php?id=76450","https://bugs.php.net/bug.php?id=76452",""],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2021-06-21T11:41:00.000Z","ID":"CVE-2021-21704","STATE":"PUBLIC","TITLE":"Multiple vulnerabilities in Firebird client extension"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.29"},{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.21"},{"version_affected":"<","version_name":"8.0.X","version_value":"8.0.8"}]}}]},"vendor_name":"PHP Group"}]}},"credit":[{"lang":"eng","value":"reported by trichimtrich at gmail dot com"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125 Out-of-bounds Read"}]},{"description":[{"lang":"eng","value":"CWE-190 Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=76448","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=76448"},{"name":"https://bugs.php.net/bug.php?id=76449","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=76449"},{"name":"https://bugs.php.net/bug.php?id=76450","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=76450"},{"name":"https://bugs.php.net/bug.php?id=76452","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=76452"},{"name":"https://security.netapp.com/advisory/ntap-20211029-0006/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20211029-0006/"},{"name":"GLSA-202209-20","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-20"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=76448","https://bugs.php.net/bug.php?id=76449","https://bugs.php.net/bug.php?id=76450","https://bugs.php.net/bug.php?id=76452",""],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=76448","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=76449","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=76450","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=76452","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0006/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-20","name":"GLSA-202209-20","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:23:29.438Z"}}]}}}