Improper Authorization in nodejs-current (Alpine package)



Published: 2020-06-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-8172
CWE-ID CWE-285
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
nodejs-current (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Authorization

EUVDB-ID: #VU28537

Risk: Medium

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

CVE-ID: CVE-2020-8172

CWE-ID: CWE-285 - Improper Authorization

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authorization process.

The vulnerability exists due to TLS session reuse and host certificate verification bypass, as the 'session' event can be emitted before the 'secureConnect' event in Node.js. The application agent performs https session caching and an unauthorized connection can be established via the cached session ticket and treated as authorized connection.

Mitigation

Install update from vendor's website.

Vulnerable software versions

nodejs-current (Alpine package): 12.4.0-r0 - 14.3.0-r0

External links

http://git.alpinelinux.org/aports/commit/?id=b4b2a5e4822d8b01e62e3be2645d38bf78c806a6
http://git.alpinelinux.org/aports/commit/?id=7a14910d75ec00b49c3119f87badd6075099bbfa
http://git.alpinelinux.org/aports/commit/?id=198d3bb2cd989d9883c042a284d830fb32d5029b
http://git.alpinelinux.org/aports/commit/?id=0069a8448e7c867901988a4f689e09128bad72c0


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###