CVE-2018-10242

NameCVE-2018-10242
DescriptionSuricata version 4.0.4 incorrectly handles the parsing of the SSH banner. A malformed SSH banner can cause the parsing code to read beyond the allocated data because SSHParseBanner in app-layer-ssh.c lacks a length check.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1751-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
suricata (PTS)jessie, jessie (lts)2.0.7-2+deb8u5fixed
stretch3.2.1-1+deb9u1vulnerable
buster1:4.1.2-2+deb10u1fixed
bullseye1:6.0.1-3fixed
bookworm1:6.0.10-1fixed
sid, trixie1:7.0.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
suricatasourcewheezy(not affected)
suricatasourcejessie2.0.7-2+deb8u4DLA-1751-1
suricatasource(unstable)1:4.0.5-1

Notes

[stretch] - suricata <no-dsa> (Minor issue)
https://redmine.openinfosecfoundation.org/issues/2544
https://redmine.openinfosecfoundation.org/issues/2542
https://github.com/OISF/suricata/commit/9ba89a31efc89ec5cb72326dbcb9166b098f3ea0
https://suricata-ids.org/2018/07/18/suricata-4-0-5-available/
[wheezy] - suricata <not-affected> (Vulnerable code introduced later)
Vulnerability introduced in https://github.com/OISF/suricata/commit/3648adb53

Search for package or bug name: Reporting problems