{"id":"CVE-2020-4068","state":"PUBLISHED","title":"Heap-based Buffer Overflow in APNSwift","description":"In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is likely to result in a heap buffer overflow. This has been fixed in 1.0.1.","publishedAt":"2020-06-22T15:30:17.000Z","updatedAt":"2024-08-04T07:52:20.911Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["kylebrowning APNSwift"],"affected":[{"vendor":"kylebrowning","product":"APNSwift","versions":[{"version":"= 1.0.0","status":"affected"}]}],"references":["https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg","https://github.com/kylebrowning/APNSwift/issues/31","https://github.com/kylebrowning/APNSwift/pull/32","https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:47:32.441Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/4xxx/CVE-2020-4068.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-4068","state":"PUBLISHED","datePublished":"2020-06-22T15:30:17.000Z","dateUpdated":"2024-08-04T07:52:20.911Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2019-12-30T00:00:00.000Z"},"containers":{"cna":{"title":"Heap-based Buffer Overflow in APNSwift","descriptions":[{"lang":"en","value":"In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is likely to result in a heap buffer overflow. This has been fixed in 1.0.1."}],"affected":[{"vendor":"kylebrowning","product":"APNSwift","versions":[{"version":"= 1.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kylebrowning/APNSwift/issues/31","tags":["x_refsource_MISC"]},{"url":"https://github.com/kylebrowning/APNSwift/pull/32","tags":["x_refsource_MISC"]},{"url":"https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-06-22T15:30:17.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-qh2w-vjxg-mjcg","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-4068","STATE":"PUBLIC","TITLE":"Heap-based Buffer Overflow in APNSwift"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"APNSwift","version":{"version_data":[{"version_value":"= 1.0.0"}]}}]},"vendor_name":"kylebrowning"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is likely to result in a heap buffer overflow. This has been fixed in 1.0.1."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-122: Heap-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg","refsource":"CONFIRM","url":"https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg"},{"name":"https://github.com/kylebrowning/APNSwift/issues/31","refsource":"MISC","url":"https://github.com/kylebrowning/APNSwift/issues/31"},{"name":"https://github.com/kylebrowning/APNSwift/pull/32","refsource":"MISC","url":"https://github.com/kylebrowning/APNSwift/pull/32"},{"name":"https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f","refsource":"MISC","url":"https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f"}]},"source":{"advisory":"GHSA-qh2w-vjxg-mjcg","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/kylebrowning/APNSwift/security/advisories/GHSA-qh2w-vjxg-mjcg","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/kylebrowning/APNSwift/issues/31","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/kylebrowning/APNSwift/pull/32","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/kylebrowning/APNSwift/commit/97fa7f69dcdd89168fff84e0ba8f999881ee3d3f","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T07:52:20.911Z"}}]}}}