Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3cvr-822r-rqcc

Опубликовано: 21 июл. 2022
Источник: github
Github: Прошло ревью
CVSS3: 5.3

Описание

undici before v5.8.0 vulnerable to CRLF injection in request headers

Impact

It is possible to inject CRLF sequences into request headers in Undici.

const undici = require('undici') const response = undici.request("http://127.0.0.1:1000", { headers: {'a': "\r\nb"} })

The same applies to path and method

Patches

Update to v5.8.0

Workarounds

Sanitize all HTTP headers from untrusted sources to eliminate \r\n.

References

https://hackerone.com/reports/409943 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12116

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

undici

npm
Затронутые версииВерсия исправления

< 5.8.0

5.8.0

EPSS

Процентиль: 67%
0.00542
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-93

Связанные уязвимости

CVSS3: 5.3
ubuntu
больше 3 лет назад

undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.

CVSS3: 6.5
redhat
больше 3 лет назад

undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.

CVSS3: 5.3
nvd
больше 3 лет назад

undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.

CVSS3: 5.3
debian
больше 3 лет назад

undici is an HTTP/1.1 client, written from scratch for Node.js. It is ...

suse-cvrf
больше 3 лет назад

Security update for nodejs16

EPSS

Процентиль: 67%
0.00542
Низкий

5.3 Medium

CVSS3

Дефекты

CWE-93