{"id":"CVE-2020-5220","published":"2020-01-27T20:15:17Z","modified":"2024-08-04T08:22:08Z","title":"Ability to expose data in Sylius by using an unintended serialisation group","vendor":"Sylius","product":"SyliusResourceBundle","tier":"core","eol":null,"affectedVersions":[{"vendor":"Sylius","product":"SyliusResourceBundle","versions":["< 1.3.13",">= 1.4.0, < 1.4.6",">= 1.5.0, < 1.5.1",">= 1.6.0, < 1.6.3"]}],"description":{"text":"Sylius ResourceBundle accepts and uses any serialisation groups to be passed via a HTTP header. This might lead to data exposure by using an unintended serialisation group - for example it could make Shop API use a more permissive group from Admin API. Anyone exposing an API with ResourceBundle's controller is affected. The vulnerable versions are: <1.3 || >=1.3.0 <=1.3.12 || >=1.4.0 <=1.4.5 || >=1.5.0 <=1.5.0 || >=1.6.0 <=1.6.2. The patch is provided for Sylius ResourceBundle 1.3.13, 1.4.6, 1.5.1 and 1.6.3, but not for any versions below 1.3.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00737,"percentile":0.54406,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/sylius/resource-bundle/CVE-2020-5220.yaml","tags":["x_refsource_MISC"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"exploitation_technique","evidence":[],"confidence":"low","confidenceNote":"needs user interaction; not a public-facing exploit"},{"id":"T1005","name":"Data from Local System","tactics":["collection"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"primary_impact","evidence":[],"confidence":"high"}],"reports":[],"affected":[{"ecosystem":"Packagist","package":"sylius/resource-bundle","vulnerableRanges":[">=1.4.0, <1.4.6",">=1.5.0, <1.5.1",">=1.6.0, <1.6.3",">=1.0.0, <1.3.13"],"patched":["1.4.6","1.5.1","1.6.3","1.3.13"],"from":["GHSA-8vp7-j5cj-vvm2"],"provenance":"source"},{"ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":["<1.3.12",">=1.4.0, <1.4.4"],"patched":["1.3.12","1.4.4"],"from":["GHSA-8vp7-j5cj-vvm2"],"provenance":"source"}],"advisories":[{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/resource-bundle","vulnerableRanges":[">=1.4.0, <1.4.6"],"patched":["1.4.6"],"provenance":"source","from":"GHSA"},{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/resource-bundle","vulnerableRanges":[">=1.5.0, <1.5.1"],"patched":["1.5.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/resource-bundle","vulnerableRanges":[">=1.6.0, <1.6.3"],"patched":["1.6.3"],"provenance":"source","from":"GHSA"},{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":["<1.3.12"],"patched":["1.3.12"],"provenance":"source","from":"GHSA"},{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/sylius","vulnerableRanges":[">=1.4.0, <1.4.4"],"patched":["1.4.4"],"provenance":"source","from":"GHSA"},{"id":"GHSA-8vp7-j5cj-vvm2","url":"https://github.com/advisories/GHSA-8vp7-j5cj-vvm2","severity":"MODERATE","ecosystem":"Packagist","package":"sylius/resource-bundle","vulnerableRanges":[">=1.0.0, <1.3.13"],"patched":["1.3.13"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0257","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0257","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"primary","techniques":["T1005"],"provenance":"source"},{"stage":"related","techniques":["T1190"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2020-01-27","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-5220","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":14.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.88,"detail":"percentile 0.5441"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.08,"detail":"base score 4.4"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-sylius-cve-2020-5218","parents":[{"from":"CVE-2020-5218","to":"CVE-2020-5220","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-8vp7-j5cj-vvm2","via":"reference","url":"https://github.com/Sylius/SyliusResourceBundle/security/advisories/GHSA-8vp7-j5cj-vvm2"},{"kind":"osv-related","provenance":"source","id":"GHSA-prg5-hg25-8grq","via":"reference","url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-prg5-hg25-8grq"}]}],"packageHistory":[{"cve":"CVE-2019-12186","published":"2019-12-31","fixed":"1.4.4","kev":false,"link":{"from":"CVE-2019-12186","to":"CVE-2020-5220","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:sylius/sylius","fromFixed":"1.2.17","toFixed":"1.3.12","daysApart":27}]}},{"cve":"CVE-2020-5220","published":"2020-01-27","fixed":"1.4.4","kev":false},{"cve":"CVE-2019-16768","published":"2019-12-05","fixed":"1.6.3","kev":false},{"cve":"CVE-2020-5218","published":"2020-01-27","fixed":"1.6.5","kev":false},{"cve":"CVE-2020-15245","published":"2020-10-19","fixed":"1.8.3","kev":false}],"package":"Packagist:sylius/sylius"}}