{"id":"CVE-2020-7069","state":"PUBLISHED","title":"Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV","description":"In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.","publishedAt":"2020-10-02T14:14:45.340Z","updatedAt":"2024-09-17T04:04:37.418Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.23","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.11","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.34","versionType":"custom"}]}],"references":["https://bugs.php.net/bug.php?id=79601","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/","http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html","https://usn.ubuntu.com/4583-1/","http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html","https://security.gentoo.org/glsa/202012-16","https://www.debian.org/security/2021/dsa-4856","https://www.oracle.com/security-alerts/cpuApr2021.html","https://security.netapp.com/advisory/ntap-20201016-0001/","https://www.oracle.com/security-alerts/cpuoct2021.html","https://www.tenable.com/security/tns-2021-14"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7069.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7069","state":"PUBLISHED","datePublished":"2020-10-02T14:14:45.340Z","dateUpdated":"2024-09-17T04:04:37.418Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2020-01-15T00:00:00.000Z"},"containers":{"cna":{"title":"Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV","descriptions":[{"lang":"en","value":"In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data."}],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.23","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.11","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.34","versionType":"custom"}]}],"references":[{"url":"https://bugs.php.net/bug.php?id=79601","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/","name":"FEDORA-2020-4573f0e03a","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/","name":"FEDORA-2020-4fe6b116e5","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/","name":"FEDORA-2020-94763cb98b","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html","name":"openSUSE-SU-2020:1703","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4583-1/","name":"USN-4583-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html","name":"openSUSE-SU-2020:1767","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/202012-16","name":"GLSA-202012-16","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20201016-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-10-20T10:40:13.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"credits":[{"lang":"en","value":"Reported by bizxing at web dot de"}],"datePublic":"2020-09-29T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=79601"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2020-09-29T06:12:00.000Z","ID":"CVE-2020-7069","STATE":"PUBLIC","TITLE":"Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.23"},{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.11"},{"version_affected":"<","version_name":"7.2.x","version_value":"7.2.34"}]}}]},"vendor_name":"PHP Group"}]}},"credit":[{"lang":"eng","value":"Reported by bizxing at web dot de"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=79601","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=79601"},{"name":"FEDORA-2020-4573f0e03a","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/"},{"name":"FEDORA-2020-4fe6b116e5","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/"},{"name":"FEDORA-2020-94763cb98b","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/"},{"name":"openSUSE-SU-2020:1703","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html"},{"name":"USN-4583-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4583-1/"},{"name":"openSUSE-SU-2020:1767","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html"},{"name":"GLSA-202012-16","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202012-16"},{"name":"DSA-4856","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4856"},{"name":"https://www.oracle.com/security-alerts/cpuApr2021.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"name":"https://security.netapp.com/advisory/ntap-20201016-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20201016-0001/"},{"name":"https://www.oracle.com/security-alerts/cpuoct2021.html","refsource":"MISC","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"name":"https://www.tenable.com/security/tns-2021-14","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2021-14"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=79601"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=79601","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/","name":"FEDORA-2020-4573f0e03a","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/","name":"FEDORA-2020-4fe6b116e5","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/","name":"FEDORA-2020-94763cb98b","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html","name":"openSUSE-SU-2020:1703","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/4583-1/","name":"USN-4583-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html","name":"openSUSE-SU-2020:1767","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202012-16","name":"GLSA-202012-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20201016-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:18:03.094Z"}}]}}}