Bug 13901

Summary: [CVE 21] mosquitto 2.0.15 CVEs found
Product: [ROSA-based products] ROSA Fresh Reporter: Yury <y.tumanov>
Component: System (kernel, glibc, systemd, bash, PAM...)Assignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: Highest CC: a.proklov, e.kosachev, pastordidi, s.matveev, v.potapov, y.tumanov
Version: AllFlags: v.potapov: qa_verified+
y.tumanov: secteam_verified?
a.proklov: published+
Target Milestone: 2021.1 Fresh R12   
Hardware: All   
OS: Linux   
URL: CVE-2023-0809, CVE-2023-28366, CVE-2023-3592,
Whiteboard:
Platform: 2021.1 ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Yury 2023-10-18 20:28:48 MSK
Please patch CVEs for package mosquitto version 2.0.15
  
INFO (CVEs are): mosquitto 2.0.15
 cves found
CVE-2023-0809
Desc: In Mosquitto before 2.0.16, excessive memory is allocated based on malicious initial packets that are not CONNECT packets.
Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0809
Severity: MEDIUM
CVE-2023-28366
Desc: The broker in Eclipse Mosquitto 1.3.2 through 2.x before 2.0.16 has a memory leak that can be abused remotely when a client sends many QoS 2 messages with duplicate message IDs, and fails to respond to PUBREC commands. This occurs because of mishandling of EAGAIN from the libc send function.
Link: https://nvd.nist.gov/vuln/detail/CVE-2023-28366
Severity: HIGH
CVE-2023-3592
Desc: In Mosquitto before 2.0.16, a memory leak occurs when clients send v5 CONNECT packets with a will message that contains invalid property types.

Link: https://nvd.nist.gov/vuln/detail/CVE-2023-3592
Severity: HIGH
Comment 1 Vladimir Potapov 2023-10-20 17:57:20 MSK
*** Bug 13769 has been marked as a duplicate of this bug. ***
Comment 2 Svyatoslav Matveev 2024-01-10 11:29:55 MSK
********** QA ADVISORY **********

Обновлен до стабильной новой версии 2.0.18.

CVE закрыты в 2.0.16 можно посмотреть
в changelog 
https://github.com/eclipse/mosquitto/blob/3923526c6b4c048bbecad2506c4c9963bc46cd36/ChangeLog.txt#L24-L39

Ссылки на исправления:

CVE-2023-0809
https://github.com/eclipse/mosquitto/commit/a3c680fbb00a0019573fb84c29332e845e6efcad

CVE-2023-28366
https://github.com/eclipse/mosquitto/commit/6113eac95a9df634fbc858be542c4a0456bfe7b9

CVE-2023-3592
https://github.com/eclipse/mosquitto/commit/00b24e0eb0686e9a76feb71fdaee650cb7e612fa

*** mosquitto
**  2.0.15 .. 2.0.18

https://abf.io/build_lists/4952125 (x86_64)
https://abf.io/build_lists/4952126
https://abf.io/build_lists/4952127
https://abf.io/build_lists/4952128
https://abf.io/build_lists/4952129

**** rosa2021.15
*** mosquitto
**  2.0.15 .. 2.0.18

https://abf.io/build_lists/4952130 (x86_64)
https://abf.io/build_lists/4952131
https://abf.io/build_lists/4952132
Comment 3 Dmitry Postnikov 2024-01-17 12:31:42 MSK
*****************************
Обновление отослано в Тестинг вчера в 2021.1

Сегодня опубликовал в 2021.15
Comment 4 Vladimir Potapov 2024-01-23 09:42:38 MSK
mosquitto-2.0.18-1
https://abf.io/build_lists/4952125 (x86_64)
https://abf.io/build_lists/4952126
https://abf.io/build_lists/4952127
https://abf.io/build_lists/4952128
https://abf.io/build_lists/4952129
************************** Advisory **************************
Up to 2.0.18 for CVEs fix
**************************************************************
QA Verified