{"id":"CVE-2021-29623","state":"PUBLISHED","title":"Uninitialized variable bug in Exiv2","description":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The read of uninitialized memory is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to leak a few bytes of stack memory, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4.","publishedAt":"2021-05-13T00:00:00.000Z","updatedAt":"2024-08-03T22:11:06.285Z","severity":{"score":3.6,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Exiv2 exiv2"],"affected":[{"vendor":"Exiv2","product":"exiv2","versions":[{"version":"< v0.27.4","status":"affected"}]}],"references":["https://github.com/Exiv2/exiv2/security/advisories/GHSA-6253-qjwm-3q4v","https://github.com/Exiv2/exiv2/pull/1627","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/","https://security.gentoo.org/glsa/202312-06"],"weaknesses":["CWE-908"],"ingestedAt":"2026-10-29T19:48:21.578Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/29xxx/CVE-2021-29623.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-29623","state":"PUBLISHED","datePublished":"2021-05-13T00:00:00.000Z","dateUpdated":"2024-08-03T22:11:06.285Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-03-30T00:00:00.000Z"},"containers":{"cna":{"title":"Uninitialized variable bug in Exiv2","descriptions":[{"lang":"en","value":"Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A read of uninitialized memory was found in Exiv2 versions v0.27.3 and earlier. Exiv2 is a command-line utility and C++ library for reading, writing, deleting, and modifying the metadata of image files. The read of uninitialized memory is triggered when Exiv2 is used to read the metadata of a crafted image file. An attacker could potentially exploit the vulnerability to leak a few bytes of stack memory, if they can trick the victim into running Exiv2 on a crafted image file. The bug is fixed in version v0.27.4."}],"affected":[{"vendor":"Exiv2","product":"exiv2","versions":[{"version":"< v0.27.4","status":"affected"}]}],"references":[{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-6253-qjwm-3q4v"},{"url":"https://github.com/Exiv2/exiv2/pull/1627"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/","name":"FEDORA-2021-d1d5a0bf0f","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/","name":"FEDORA-2021-8253c78bd7","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/","name":"FEDORA-2021-bdba47348c","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/","name":"FEDORA-2021-8917c5d9d2","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202312-06","name":"GLSA-202312-06","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.6,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-908","type":"CWE","lang":"en","description":"{\"CWE-908\":\"Use of Uninitialized Resource\"}"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-22T10:06:22.858Z"},"source":{"advisory":"GHSA-6253-qjwm-3q4v","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/Exiv2/exiv2/security/advisories/GHSA-6253-qjwm-3q4v","tags":["x_transferred"]},{"url":"https://github.com/Exiv2/exiv2/pull/1627","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5I3RRZUGSBIUYZ5TIHLN55PKMAWCSJ5G/","name":"FEDORA-2021-d1d5a0bf0f","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M2BPQNJKTRIDINTVJ22QMMTIZEPHVKXK/","name":"FEDORA-2021-8253c78bd7","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RQAKFIQHW2AS3AGSJM42ABOA6CWIJBGM/","name":"FEDORA-2021-bdba47348c","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TZ5SGWHK64TB7ADRSVBGHEPDFN5CSOO3/","name":"FEDORA-2021-8917c5d9d2","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202312-06","name":"GLSA-202312-06","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T22:11:06.285Z"}}]}}}