Bug 1822707 (CVE-2020-5255)

Summary: CVE-2020-5255 php-symfony: Response without Content-Type header could result in cache poisoning
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-09 22:31:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1822708    
Bug Blocks:    

Description Michael Kaplan 2020-04-09 16:36:25 UTC
In Symfony before versions 4.4.7 and 5.0.7, when a `Response` does not contain a `Content-Type` header, affected versions of Symfony can fallback to the format defined in the `Accept` header of the request, leading to a possible mismatch between the `response`s content and `Content-Type` header. When the response is cached, this can prevent the use of the website by other users. This has been patched in versions 4.4.7 and 5.0.7.

Comment 1 Michael Kaplan 2020-04-09 16:36:28 UTC
External References:

https://github.com/symfony/symfony/security/advisories/GHSA-mcx4-f5f5-4859

Comment 2 Michael Kaplan 2020-04-09 16:36:46 UTC
Created php-symfony4 tracking bugs for this issue:

Affects: fedora-all [bug 1822708]

Comment 3 Product Security DevOps Team 2020-04-09 22:31:48 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.