p PatchFirst

PatchFirst · Latest vulnerabilities

symfony/symfony vulnerabilities · Page 3

Vulnerabilities published for symfony/symfony in the last 30 days: 2. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 102

  1. GHSA-q2gc-gg3x-7942

    High · CVSS 7.5Fix available

    Symfony XML Entity Expansion security vulnerability

    Symfony 2.0.11 carried a [similar] XXE security fix, however, on review of ZF2 I also noted a vulnerability to XML Entity Expansion (XEE) attacks whereby all extensions making use of libxml2 have no defense against XEE Quadratic Blowup Attacks. The vulnerability is a function of there being no current method of disabling custom entities in PHP (i.e. defined internal to the XML document without using external entities). In a QBA, a long entity can be defined and then referred to multiple times in document elements, creating a memory sink with which Denial Of Service attacks against a host's RAM can be mounted. The use of the LIBXML_NOENT or eq

    • Update to 2.0.17
    Published Updated
  2. GHSA-mmcv-fvq8-r9x3

    Critical · CVSS 9.8Fix available

    Symfony XML decoding attack vector through external entities

    The XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.

    • Update to 2.0.11
    Published Updated
  3. GHSA-7mx2-7q8p-pgmw

    Medium · CVSS 6.5Fix available

    Symfony may allow a user to switch to using another user's identity

    Symfony 2.0.6 has just been released. It addresses a security vulnerability in the EntityUserProvider as provided in the Doctrine bridge. If you let your users update their login/username from a form, and if you are using Doctrine as a user provider, then you are vulnerable and you should upgrade as soon as possible. The issue is that it is possible for a user to switch to another one. Here is how to reproduce it: The current user changes its username via a form to another existing username. When the form is submitted, he will have a validation error (as the username already exists) but the user object in the session will still be modified

    • Update to 2.0.6
    Published Updated
  4. CVE-2014-5245

    High · CVSS 7.5Fix available

    Symfony allows direct access of ESI URLs behind a trusted proxy

    All 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpKernel component are affected by this security issue. Your application is vulnerable only if the ESI feature is enabled and there is a proxy in front of the web application. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.2 as it is not maintained anymore. Description When you enable the ESI feature and when you are using a proxy like Varnish that you configured as a trusted proxy, the `FragmentHandler` considered requests to render fragments as coming from a trusted source, even if the client was requesting them direc

    • Update to 2.3.19
    • Update to 2.4.9
    • Update to 2.5.4
    Published Updated
  5. CVE-2015-2309

    Medium · CVSS 5.3Fix available

    Symfony has unsafe methods in the Request class

    All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, 2.5.X, and 2.6.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.27, 2.5.11, and 2.6.6. Note that no fixes are provided for Symfony 2.0, 2.1, 2.2, and 2.4 as they are not maintained anymore. ### Description The Symfony\Component\HttpFoundation\Request class provides a mechanism that ensures it does not trust HTTP header values coming from a "non-trusted" client. Unfortunately, it assumes that the remote address is always a trusted client if at least one trusted proxy is involved in the request; this allows a man-in-the-middl

    • Update to 2.3.27
    • Update to 2.5.11
    • Update to 2.6.6
    Published Updated
  6. CVE-2014-6061

    Medium · CVSS 5.3Fix available

    Symfony has a security issue when parsing the Authorization header

    All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore. ### Description When an application uses an HTTP basic or digest authentication, Symfony does not parse the `Authorization` header properly, which could be exploited in some server setups (no exploits have been demonstrated though.) ### Resolution The parsing of the `Authorization` header has been fixed to comply to the HTTP specification. The patc

    • Update to 2.3.19
    • Update to 2.4.9
    • Update to 2.5.4
    Published Updated
  7. CVE-2014-5244

    High · CVSS 7.5Fix available

    Symfony vulnerable to denial of service via a malicious HTTP Host header

    All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore. Description When an arbitrarily long hostname is sent by a client, its parsing in `Request::getHost()` can lead to a DoS attack, due to the way we validate the hostname via a regular expression. Resolution The regular expression used to parse and validate the hostname from the HTTP request has been modified to avoid too much sensitivity to the submi

    • Update to 2.3.19
    • Update to 2.4.9
    • Update to 2.5.4
    Published Updated
  8. GHSA-vfm6-r2gc-pwww

    Not ratedFix available

    Symfony2 security issue when the trust proxy mode is enabled

    An application is vulnerable if it uses the client IP address as returned by the Request::getClientIp() method for sensitive decisions like IP based access control. To fix this security issue, the following changes have been made to all versions of Symfony2: A new Request::setTrustedProxies() method has been introduced and should be used intead of Request::trustProxyData() to enable the trust proxy mode. It takes an array of trusted proxy IP addresses as its argument: ``` // before (probably in your front controller script) Request::trustProxyData(); // after Request::setTrustedProxies(array('1.1.1.1')); // 1.1.1.1 being the IP address of

    • Update to 2.0.19
    • Update to 2.1.4
    Published Updated
  9. CVE-2014-4931

    High · CVSS 7.5Fix available

    Code injection in the way Symfony implements translation caching in FrameworkBundle

    When investigating issue [#11093](https://github.com/symfony/symfony/issues/11093), [Jeremy Derussé](https://connect.sensiolabs.com/profile/jderusse) found a serious code injection issue in the way Symfony implements translation caching in FrameworkBundle. - Your Symfony application is vulnerable if you meet the following conditions: - You are using the Symfony translation system from FrameworkBundle (so basically if you are using Symfony full-stack -- you are not affected if you are using the Translation component with Silex for instance); You don't sanitize locales coming from a URL (any route with a _locale argument for instance): When

    • Update to 2.3.19
    • Update to 2.4.9
    • Update to 2.5.4
    Published Updated
  10. CVE-2023-46735

    Medium · CVSS 6.1EPSS 0.57%Fix available

    Symfony potential Cross-site Scripting in WebhookController

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in version 6.0.0 and prior to version 6.3.8, the error message in `WebhookController` returns unescaped user-submitted input. As of version 6.3.8, `WebhookController` now doesn't return any user-submitted input in its response.

    • Update to 6.3.8
    Published Updated
  11. CVE-2023-46734

    Medium · CVSS 6.1EPSS 0.69%Fix available

    Symfony potential Cross-site Scripting vulnerabilities in CodeExtension filters

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 2.0.0, 5.0.0, and 6.0.0 and prior to versions 4.4.51, 5.4.31, and 6.3.8, some Twig filters in CodeExtension use `is_safe=html` but don't actually ensure their input is safe. As of versions 4.4.51, 5.4.31, and 6.3.8, Symfony now escapes the output of the affected filters.

    • Update to 4.4.51
    • Update to 5.4.31
    • Update to 6.3.8
    Published Updated
  12. CVE-2023-46733

    Medium · CVSS 6.5EPSS 0.69%Fix available

    Symfony possible session fixation vulnerability

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Starting in versions 5.4.21 and 6.2.7 and prior to versions 5.4.31 and 6.3.8, `SessionStrategyListener` does not migrate the session after every successful login. It does so only in case the logged in user changes by means of checking the user identifier. In some use cases, the user identifier doesn't change between the verification phase and the successful login, while the token itself changes from one type (partially-authenticated) to another (fully-authenticated). When this happens, the session id should be regenerated to prevent possible sess

    • Update to 5.4.31
    • Update to 6.3.8
    Published Updated
  13. CVE-2022-24894

    Medium · CVSS 5.9EPSS 4%Fix available

    Symfony storing cookie headers in HttpCache

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The Symfony HTTP cache system, acts as a reverse proxy: It caches entire responses (including headers) and returns them to the clients. In a recent change in the `AbstractSessionListener`, the response might contain a `Set-Cookie` header. If the Symfony HTTP cache system is enabled, this response might bill stored and return to the next clients. An attacker can use this vulnerability to retrieve the victim's session. This issue has been patched and is available for branch 4.4.

    • Update to 4.4.50
    • Update to 5.4.20
    • Update to 6.0.20
    • Update to 6.1.12
    • Update to 6.2.6
    Published Updated
  14. CVE-2022-24895

    Medium · CVSS 6.3EPSS 0.79%Fix available

    Symfony vulnerable to Session Fixation of CSRF tokens

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. When authenticating users Symfony by default regenerates the session ID upon login, but preserves the rest of session attributes. Because this does not clear CSRF tokens upon login, this might enables same-site attackers to bypass the CSRF protection mechanism by performing an attack similar to a session-fixation. This issue has been fixed in the 4.4 branch.

    • Update to 4.4.50
    • Update to 5.4.20
    • Update to 6.0.20
    • Update to 6.1.12
    • Update to 6.2.6
    Published Updated
  15. CVE-2021-41270

    Medium · CVSS 6.5EPSS 1.4%Fix available

    CSV Injection in Symfony

    Symfony/Serializer handles serializing and deserializing data structures for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Symfony versions 4.1.0 before 4.4.35 and versions 5.0.0 before 5.3.12 are vulnerable to CSV injection, also known as formula injection. In Symfony 4.1, maintainers added the opt-in `csv_escape_formulas` option in the `CsvEncoder`, to prefix all cells starting with `=`, `+`, `-` or `@` with a tab `\t`. Since then, OWASP added 2 chars in that list: Tab (0x09) and Carriage return (0x0D). This makes the previous prefix char (Tab `\t`) part of the vulnerable characters, and OWA

    • Update to 4.4.35
    • Update to 5.3.12
    Published Updated
  16. CVE-2021-41267

    Medium · CVSS 6.5EPSS 1.28%Fix available

    Webcache Poisoning in Symfony

    Symfony/Http-Kernel is the HTTP kernel component for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Headers that are not part of the "trusted_headers" allowed list are ignored and protect users from "Cache poisoning" attacks. In Symfony 5.2, maintainers added support for the `X-Forwarded-Prefix` headers, but this header was accessible in SubRequest, even if it was not part of the "trusted_headers" allowed list. An attacker could leverage this opportunity to forge requests containing a `X-Forwarded-Prefix` header, leading to a web cache poisoning issue. Versions 5.3.12 and later have a patch to

    • Update to 5.3.12
    Published Updated
  17. CVE-2021-41268

    Medium · CVSS 6.5EPSS 1.32%Fix available

    Cookie persistence in Symfony

    Symfony/SecurityBundle is the security system for Symfony, a PHP framework for web and console applications and a set of reusable PHP components. Since the rework of the Remember me cookie in version 5.3.0, the cookie is not invalidated when the user changes their password. Attackers can therefore maintain their access to the account even if the password is changed as long as they have had the chance to login once and get a valid remember me cookie. Starting with version 5.3.12, Symfony makes the password part of the signature by default. In that way, when the password changes, then the cookie is not valid anymore.

    • Update to 5.3.12
    Published Updated
  18. CVE-2021-32693

    Medium · CVSS 6.8EPSS 1.39%Fix available

    Authentication granted with multiple firewalls

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. A vulnerability related to firewall authentication is in Symfony starting with version 5.3.0 and prior to 5.3.2. When an application defines multiple firewalls, the token authenticated by one of the firewalls was available for all other firewalls. This could be abused when the application defines different providers for each part of the application, in such a situation, a user authenticated on a part of the application could be considered authenticated on the rest of the application. Starting in version 5.3.2, a patch ensures that the authenticat

    • Update to 5.3.2
    Published Updated
  19. GHSA-g2qj-pmxm-9f8f

    Not ratedFix available

    User enumeration in authentication mechanisms

    Description ----------- The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not. It was also possible to enumerate users by using a timing attack, by comparing time elapsed when authenticating an existing user and authenticating a non-existing user. Resolution ---------- We now ensure that 403s are returned whether the user exists or not if the password is invalid or if the user does not exist. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011) for branch 3.4. Cred

    • Update to 5.2.8
    Published Updated
  20. CVE-2021-21424

    Medium · CVSS 5.3EPSS 1.64%Fix available

    Prevent user enumeration using Guard or the new Authenticator-based Security

    Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that 403s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist. The patch for this issue is available for branch 3.4.

    • Update to 3.4.49
    • Update to 4.4.24
    • Update to 5.2.9
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →