CVE-2021-22918
Publication date 2 July 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| libuv1 | 22.04 LTS jammy | 
                                Fixed 1.40.0-2 
                                
                               | 
| 20.04 LTS focal | 
                                Fixed 1.34.2-1ubuntu1.3 
                                
                               | |
| 18.04 LTS bionic | 
                                Not affected 
                                
                               | |
| 16.04 LTS xenial | 
                                Not affected 
                                
                               | |
| 14.04 LTS trusty | Not in release | 
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | Low | 
| Integrity impact | None | 
| Availability impact | None | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | 
References
Related Ubuntu Security Notices (USN)
- USN-5007-1
- libuv vulnerability
- 7 July 2021