HTTP Header Injection Affecting laminas/laminas-diactoros package, versions <2.11.1


0.0
medium
  • Attack Complexity

    Low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-PHP-LAMINASLAMINASDIACTOROS-2961637

  • published

    28 Jul 2022

  • disclosed

    27 Jul 2022

  • credit

    Maximilian Kresse

How to fix?

Upgrade laminas/laminas-diactoros to version 2.11.1 or higher.

Overview

Affected versions of this package are vulnerable to HTTP Header Injection in ServerRequestFactory.php, which does not filter out untrusted values for X-Forwarded-* headers for Laminas\Diactoros\Uri instances.