Bug 26853 - ngircd new security issue CVE-2020-14148
Summary: ngircd new security issue CVE-2020-14148
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
Depends on:
Reported: 2020-06-23 23:53 CEST by David Walser
Modified: 2020-07-03 15:06 CEST (History)
2 users (show)

See Also:
Source RPM: ngircd-25-1.mga7.src.rpm
CVE: CVE-2020-14148
Status comment:


Description David Walser 2020-06-23 23:53:45 CEST
Debian-LTS has issued an advisory on June 21:

The issue is fixed upstream in 26rc2.

Mageia 7 is also affected.
David Walser 2020-06-23 23:54:01 CEST

Whiteboard: (none) => MGA7TOO
CC: (none) => nicolas.salguero

Comment 1 Nicolas Salguero 2020-06-24 09:42:15 CEST
Suggested advisory:

The updated package fixes a security vulnerability:

The Server-Server protocol implementation in ngIRCd before 26~rc2 allows an out-of-bounds access, as demonstrated by the IRC_NJOIN() function. (CVE-2020-14148)


Updated package in core/updates_testing:

from SRPM:

CVE: (none) => CVE-2020-14148
Assignee: bugsquad => qa-bugs
Whiteboard: MGA7TOO => (none)
Version: Cauldron => 7
Source RPM: ngircd-25-2.mga8.src.rpm => ngircd-25-1.mga7.src.rpm

Comment 2 Herman Viaene 2020-07-03 15:01:50 CEST
MGA7-64 Plasma on Lenovo B50
No installation issues.
Ref bug 11082 for test, but info there is quite sparse.
Attaching the files I edited.
# systemctl start ngircd    
[root@mach5 ~]# systemctl -l status ngircd
● ngircd.service - Next Generation IRC Daemon
   Loaded: loaded (/usr/lib/systemd/system/ngircd.service; disabled; vendor preset: disabled)
   Active: active (running) since Fri 2020-07-03 14:19:00 CEST; 3s ago
 Main PID: 7703 (ngircd)
    Tasks: 1 (limit: 4915)
   Memory: 704.0K
   CGroup: /system.slice/ngircd.service
           └─7703 /usr/sbin/ngircd -n

Jul 03 14:19:00 mach5.hviaene.thuis systemd[1]: Started Next Generation IRC Daemon.
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:3    0] Can't read MOTD file "/etc/ngircd.motd": No such file or dire>
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:4    0] No administrative information configured but required by RFC!
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:5    0] ngIRCd 25-IPv6+IRCPLUS+PAM+SSL+SYSLOG+TCPWRAP+ZLIB-x86_64/mag>
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:6    0] Using configuration file "/etc/ngircd.conf" ...
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:6    0] Running as user ngircd(976), group ngircd(968), with PID 7703.
Jul 03 14:19:00 mach5.hviaene.thuis ngircd[7703]: [7703:6    0] Not running with changed root directory.
provided a ngircd.motd file, that got rid of this message.
Tried to connect with Hexchat, but got no further than "Access denied: bad password?"
Not sure whether the channel key file has to be just the <channelname>.key (as attached, or #<channelname>.key. Provided both (just copy and rename the file), but to no avail.

CC: (none) => herman.viaene

Comment 3 Herman Viaene 2020-07-03 15:06:35 CEST
When I try to attach the conf file (15kb) I get: Software error:

Malformed multipart POST: data truncated

Note You need to log in before you can comment on or make changes to this bug.