Ubuntu update for Quagga



Published: 2018-02-16
Risk High
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2018-5379
CVE-2017-5495
CVE-2018-5380
CVE-2018-5381
CWE-ID CWE-415
CWE-119
CWE-125
CWE-835
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Double free memory error

EUVDB-ID: #VU10612

Risk: High

CVSSv3.1: 8.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-5379

CWE-ID: CWE-415 - Double Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the Quagga BGP daemon due to double-free memory when processing certain forms of UPDATE message, containing cluster-list and/or unknown attributes. A remote attacker can supply specially crafted input, trigger bqpd to crash and execute arbitrary code.

Mitigation

Update the affected packages

Ubuntu 17.10:
quagga 1.1.1-3ubuntu0.2
quagga-bgpd 1.1.1-3ubuntu0.2
Ubuntu 16.04 LTS:
quagga 0.99.24.1-2ubuntu1.4
Ubuntu 14.04 LTS:
quagga 0.99.22.4-3ubuntu1.5

Vulnerable software versions

Ubuntu: 14.04 - 17.10

CPE2.3 External links

http://www.ubuntu.com/usn/usn-3573-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Memory corruption

EUVDB-ID: #VU10615

Risk: Low

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-5495

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists due to unbounded memory allocation in the telnet 'vty' CLI. A remote attacker able to connect to the TCP ports can  send very long strings without a newline, cause the Quagga daemon to allocate unbounded memory and system crash.

Mitigation

Update the affected packages

Ubuntu 17.10:
quagga 1.1.1-3ubuntu0.2
quagga-bgpd 1.1.1-3ubuntu0.2
Ubuntu 16.04 LTS:
quagga 0.99.24.1-2ubuntu1.4
Ubuntu 14.04 LTS:
quagga 0.99.22.4-3ubuntu1.5

Vulnerable software versions

Ubuntu: 14.04 - 17.10

CPE2.3 External links

http://www.ubuntu.com/usn/usn-3573-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Out-of-bounds read

EUVDB-ID: #VU10617

Risk: Low

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-5380

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to obtain potentially sensitive information or cause DoS condition on the target system.

The weakness exists in the Quagga BGP daemon due to out-of-bounds read. A remote attacker send a specially crafted input, overrun internal BGP code-to-string conversion tables used for debug by 1 pointer value and read arbitrary data or cause a denial of service.

Mitigation

Update the affected packages

Ubuntu 17.10:
quagga 1.1.1-3ubuntu0.2
quagga-bgpd 1.1.1-3ubuntu0.2
Ubuntu 16.04 LTS:
quagga 0.99.24.1-2ubuntu1.4
Ubuntu 14.04 LTS:
quagga 0.99.22.4-3ubuntu1.5

Vulnerable software versions

Ubuntu: 14.04 - 17.10

CPE2.3 External links

http://www.ubuntu.com/usn/usn-3573-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Infinite loop

EUVDB-ID: #VU10618

Risk: Low

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-5381

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the Quagga BGP daemon due to improper handling of invalid OPEN messages. A remote attacker can trigger infinite loop and cause the service to crash.

Successful exploitation of the vulnerability results in denial of service.

Mitigation

Update the affected packages

Ubuntu 17.10:
quagga 1.1.1-3ubuntu0.2
quagga-bgpd 1.1.1-3ubuntu0.2
Ubuntu 16.04 LTS:
quagga 0.99.24.1-2ubuntu1.4
Ubuntu 14.04 LTS:
quagga 0.99.22.4-3ubuntu1.5

Vulnerable software versions

Ubuntu: 14.04 - 17.10

CPE2.3 External links

http://www.ubuntu.com/usn/usn-3573-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###