{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for sngrep","title":"Title of the patch"},{"category":"description","text":"This update for sngrep fixes the following issues:\n\n- Update to version 1.8.1\n  * Fix CVE-2024-3119: sngrep: buffer overflow due to improper\n    handling of 'Call-ID' and 'X-Call-ID' SIP headers.\n  * Fix CVE-2024-3120: sngrep: stack-buffer overflow due to\n    inadequate bounds checking when copying 'Content-Length' and\n    'Warning' headers into fixed-size buffers.\n\n- Update to versino 1.8.0\n  * fix typo in message, thanks to lintian.\n  * fix compiler warnings about unused variables.\n  * Fixed a typo in comment line in filter.c\n  * Redefine usage of POSIX signals.\n  * Support for building sngrep using CMake added.\n\n- Update to version 1.7.0\n  * save: add option --text to save captured data to plain text\n  * capture: fix memory overflows while parsing IP headers\n  * hep: fix hep listener enabled in offline mode\n  * core: stop sngrep when parent process has ended\n  * ssl: fix decrypt with AES256 GCM SHA384 cipher\n","title":"Description of the patch"},{"category":"details","text":"openSUSE-2024-106","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0106-1.json"},{"category":"self","summary":"URL for openSUSE-SU-2024:0106-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XIKQJYLNI5D5D5THR2I23E2KMGZKXH46/"},{"category":"self","summary":"E-Mail link for openSUSE-SU-2024:0106-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/XIKQJYLNI5D5D5THR2I23E2KMGZKXH46/"},{"category":"self","summary":"SUSE CVE CVE-2024-3119 page","url":"https://www.suse.com/security/cve/CVE-2024-3119/"},{"category":"self","summary":"SUSE CVE CVE-2024-3120 page","url":"https://www.suse.com/security/cve/CVE-2024-3120/"}],"title":"Security update for sngrep","tracking":{"current_release_date":"2024-04-10T18:21:00Z","generator":{"date":"2024-04-10T18:21:00Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"openSUSE-SU-2024:0106-1","initial_release_date":"2024-04-10T18:21:00Z","revision_history":[{"date":"2024-04-10T18:21:00Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"sngrep-1.8.1-bp155.2.3.1.aarch64","product":{"name":"sngrep-1.8.1-bp155.2.3.1.aarch64","product_id":"sngrep-1.8.1-bp155.2.3.1.aarch64"}}],"category":"architecture","name":"aarch64"},{"branches":[{"category":"product_version","name":"sngrep-1.8.1-bp155.2.3.1.i586","product":{"name":"sngrep-1.8.1-bp155.2.3.1.i586","product_id":"sngrep-1.8.1-bp155.2.3.1.i586"}}],"category":"architecture","name":"i586"},{"branches":[{"category":"product_version","name":"sngrep-1.8.1-bp155.2.3.1.ppc64le","product":{"name":"sngrep-1.8.1-bp155.2.3.1.ppc64le","product_id":"sngrep-1.8.1-bp155.2.3.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"sngrep-1.8.1-bp155.2.3.1.s390x","product":{"name":"sngrep-1.8.1-bp155.2.3.1.s390x","product_id":"sngrep-1.8.1-bp155.2.3.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"sngrep-1.8.1-bp155.2.3.1.x86_64","product":{"name":"sngrep-1.8.1-bp155.2.3.1.x86_64","product_id":"sngrep-1.8.1-bp155.2.3.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"SUSE Package Hub 15 SP5","product":{"name":"SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5"}},{"category":"product_name","name":"openSUSE Leap 15.5","product":{"name":"openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.5"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.aarch64 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.aarch64","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.i586 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.i586","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.ppc64le as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.ppc64le","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.s390x as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.s390x","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.x86_64 as component of SUSE Package Hub 15 SP5","product_id":"SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.x86_64","relates_to_product_reference":"SUSE Package Hub 15 SP5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.aarch64 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.aarch64","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.i586 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.i586","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.ppc64le as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.ppc64le","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.s390x as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.s390x","relates_to_product_reference":"openSUSE Leap 15.5"},{"category":"default_component_of","full_product_name":{"name":"sngrep-1.8.1-bp155.2.3.1.x86_64 as component of openSUSE Leap 15.5","product_id":"openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"},"product_reference":"sngrep-1.8.1-bp155.2.3.1.x86_64","relates_to_product_reference":"openSUSE Leap 15.5"}]},"vulnerabilities":[{"cve":"CVE-2024-3119","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-3119"}],"notes":[{"category":"general","text":"A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.\n","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2024-3119","url":"https://www.suse.com/security/cve/CVE-2024-3119"},{"category":"external","summary":"SUSE Bug 1222593 for CVE-2024-3119","url":"https://bugzilla.suse.com/1222593"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]}],"threats":[{"category":"impact","date":"2024-04-10T18:21:00Z","details":"critical"}],"title":"CVE-2024-3119"},{"cve":"CVE-2024-3120","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-3120"}],"notes":[{"category":"general","text":"A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP  messages.","title":"CVE description"}],"product_status":{"recommended":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2024-3120","url":"https://www.suse.com/security/cve/CVE-2024-3120"},{"category":"external","summary":"SUSE Bug 1222594 for CVE-2024-3120","url":"https://bugzilla.suse.com/1222594"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.aarch64","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.i586","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.ppc64le","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.s390x","SUSE Package Hub 15 SP5:sngrep-1.8.1-bp155.2.3.1.x86_64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.aarch64","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.i586","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.ppc64le","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.s390x","openSUSE Leap 15.5:sngrep-1.8.1-bp155.2.3.1.x86_64"]}],"threats":[{"category":"impact","date":"2024-04-10T18:21:00Z","details":"critical"}],"title":"CVE-2024-3120"}]}