{"id":"CVE-2021-3588","state":"PUBLISHED","title":"memory contents disclosure in cli_feat_read_cb","description":"The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading.","publishedAt":"2021-06-10T02:30:11.654Z","updatedAt":"2024-09-16T23:37:02.790Z","severity":{"score":3.3,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"canonical"},"assigner":"canonical","products":["BlueZ BlueZ"],"affected":[{"vendor":"BlueZ","product":"BlueZ","versions":[{"version":"unspecified","status":"affected","lessThan":"5.56","versionType":"custom"}]}],"references":["https://github.com/bluez/bluez/issues/70","https://security.gentoo.org/glsa/202209-16"],"weaknesses":["CWE-788","CWE-125"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3588.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3588","state":"PUBLISHED","datePublished":"2021-06-10T02:30:11.654Z","dateUpdated":"2024-09-16T23:37:02.790Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2021-06-08T00:00:00.000Z"},"containers":{"cna":{"title":"memory contents disclosure in cli_feat_read_cb","descriptions":[{"lang":"en","value":"The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading."}],"affected":[{"vendor":"BlueZ","product":"BlueZ","versions":[{"version":"unspecified","status":"affected","lessThan":"5.56","versionType":"custom"}]}],"references":[{"url":"https://github.com/bluez/bluez/issues/70","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202209-16","name":"GLSA-202209-16","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-788","description":"CWE-788 Access of Memory Location After End of Buffer","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","dateUpdated":"2022-09-29T16:07:27.000Z","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc"},"datePublic":"2021-06-09T00:00:00.000Z","solutions":[{"lang":"en","value":"https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/src/gatt-database.c?id=6a50b6aeda78a88eafb177718109c256eec077a6"}],"source":{"defect":["https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1926548"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2021-06-09T00:00:00.000Z","ID":"CVE-2021-3588","STATE":"PUBLIC","TITLE":"memory contents disclosure in cli_feat_read_cb"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"BlueZ","version":{"version_data":[{"version_affected":"<","version_value":"5.56"}]}}]},"vendor_name":"BlueZ"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-788 Access of Memory Location After End of Buffer"}]},{"description":[{"lang":"eng","value":"CWE-125 Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://github.com/bluez/bluez/issues/70","refsource":"MISC","url":"https://github.com/bluez/bluez/issues/70"},{"name":"GLSA-202209-16","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-16"}]},"solution":[{"lang":"en","value":"https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/src/gatt-database.c?id=6a50b6aeda78a88eafb177718109c256eec077a6"}],"source":{"defect":["https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1926548"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/bluez/bluez/issues/70","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-16","name":"GLSA-202209-16","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:01:07.293Z"}}]}}}