CVE-2019-18887: Non-constant time comparison in UriSigner

symfony/http-kernel Updated 02 Oct 2025

Summary

26/03/2022
Yes i
High
8.1

CVE-2019-18887: Symfony Http-Kernel has non-constant time comparison in UriSigner. Affects symfony/http-kernel across 4 version ranges.

>= 2.2.0, < 2.8.52 >= 3.0.0, < 3.4.35 >= 4.0.0, < 4.2.12 >= 4.3.0, < 4.3.8

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Also tracked for

The same CVE-2019-18887 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The package under scrutiny is symfony/http-kernel, which is a component of the Symfony framework. Symfony/http-kernel provides the core functionality for handling HTTP requests and responses in Symfony applications. It is responsible for routing, handling controllers, and managing the HTTP kernel. This vulnerability affects versions 2.2.0 to 2.8.52, 3.0.0 to 3.4.35, 4.0.0 to 4.2.12, and 4.3.0 to 4.3.8 of symfony/http-kernel.

Vulnerability Detail

The vulnerability arises from a non-constant time string comparison function used in the URISigner. This can potentially be exploited through a remote timing attack. An attacker could leverage the timing differences in the string comparison to deduce information about the signature of a URI, such as an ESI fragment URL. This could lead to unauthorized access or other security breaches.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.8.52 2.8.52
    composer require symfony/http-kernel:2.8.52
  • >= 3.0.0, < 3.4.35 3.4.35
    composer require symfony/http-kernel:3.4.35
  • >= 4.0.0, < 4.2.12 4.2.12
    composer require symfony/http-kernel:4.2.12
  • >= 4.3.0, < 4.3.8 4.3.8
    composer require symfony/http-kernel:4.3.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended course of action is to apply the fix by updating the symfony/http-kernel package to the fixed versions.

Conclusion

In conclusion, the CVE-2019-18887 vulnerability in the symfony/http-kernel package exposes a potential remote timing attack vulnerability. It is crucial to update the package to the fixed versions to mitigate the risk of unauthorized access and other security breaches. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for symfony/http-kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to deduce information about the signature of a URI, leading to unauthorized access or other security breaches.

Versions 2.2.0 to 2.8.52, 3.0.0 to 3.4.35, 4.0.0 to 4.2.12, and 4.3.0 to 4.3.8 of symfony/http-kernel are affected.

To update the symfony/http-kernel package, you can modify the composer.json file to specify the desired version and then run the composer update command.

There are no known exploits for this vulnerability at the moment.

Yes, you can find more information about this vulnerability in the GitHub Advisory Database.

Related vulnerabilities

Recent vulnerabilities recorded for symfony/http-kernel.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.8.52 2.8.52
    composer require symfony/http-kernel:2.8.52
  • >= 3.0.0, < 3.4.35 3.4.35
    composer require symfony/http-kernel:3.4.35
  • >= 4.0.0, < 4.2.12 4.2.12
    composer require symfony/http-kernel:4.2.12
  • >= 4.3.0, < 4.3.8 4.3.8
    composer require symfony/http-kernel:4.3.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback