{"id":"ALPINE-CVE-2019-3861","details":"An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH packets with a padding length value greater than the packet length are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.","modified":"2025-12-03T22:46:50.082800Z","published":"2019-03-25T19:29:01.930Z","upstream":["CVE-2019-3861"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-3861"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}},{"package":{"name":"libssh2","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/libssh2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-r0"}]}],"versions":["1.2.8-r0","1.2.9-r0","1.3.0-r0","1.4.0-r0","1.4.1-r0","1.4.2-r0","1.4.2-r1","1.4.3-r0","1.5.0-r0","1.6.0-r0","1.7.0-r0","1.7.0-r1","1.7.0-r2","1.8.0-r0","1.8.0-r1","1.8.0-r2","1.8.0-r3","1.8.0-r4"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-3861.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}