{"id":"ALPINE-CVE-2020-29361","details":"An issue was discovered in p11-kit 0.21.1 through 0.23.21. Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc.","modified":"2025-12-03T22:49:39.797265Z","published":"2020-12-16T14:15:12.717Z","upstream":["CVE-2020-29361"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-29361"}],"affected":[{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.16.1-r1"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.18.1-r1"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/p11-kit?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.22-r0"}]}],"versions":["0.12-r0","0.13-r0","0.18.0-r0","0.18.1-r0","0.18.1-r1","0.18.1-r2","0.18.2-r0","0.18.4-r0","0.20.2-r0","0.22.1-r0","0.23.1-r0","0.23.1-r1","0.23.10-r0","0.23.14-r0","0.23.15-r0","0.23.16.1-r0","0.23.17-r0","0.23.18.1-r0","0.23.2-r0","0.23.2-r1","0.23.2-r2","0.23.20-r0","0.23.20-r1","0.23.20-r2","0.23.20-r3","0.23.20-r4","0.23.20-r5","0.23.21-r0","0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29361.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}