request-filtering-agent - это реализация http(s).Agent, которая блокирует запросы на частные/зарезервированные адреса IP. До 3.2.1, RequestFilteringHttpAgent и RequestFilteringHttpsAgent синхронно выбрасывались из createConnection при отказе от буквального хоста private-IP, такого как 169.254.169.254 или 127.0.0.1. Поскольку Node.js http.request и http.get ожидают, что сбои соединения будут доставлены асинхронно, бросок обошел req.on('error') и стал незамеченным исключением, которое могло бы завершить процесс приложения.
Hostnames, решенный через асинхронный путь поиска, не был затронут этой асимметрией доставки ошибок. Эта проблема исправлена в версии 3.2.1.
Показать оригинальное описание (EN)
request-filtering-agent is an http(s).Agent implementation that blocks requests to Private/Reserved IP addresses. Prior to 3.2.1, RequestFilteringHttpAgent and RequestFilteringHttpsAgent synchronously threw from createConnection when rejecting a literal private-IP host such as 169.254.169.254 or 127.0.0.1. Because Node.js http.request and http.get expect connection failures to be delivered asynchronously, the throw bypassed req.on('error') and became an uncaught exception that could terminate the application process. Hostnames resolved through the asynchronous lookup path were not affected by this error-delivery asymmetry. This issue is fixed in version 3.2.1.
Характеристики атаки
Последствия
Строка CVSS v3.1