Lookup for vulnerable packages by Package URL.
| Purl | pkg:gem/carrierwave@3.0.2 |
| Type | gem |
| Namespace | |
| Name | carrierwave |
| Version | 3.0.2 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 3.1.3 |
| Latest_non_vulnerable_version | 3.1.3 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-hway-mr71-cqgj |
| vulnerability_id |
VCID-hway-mr71-cqgj |
| summary |
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CarrierWave is a solution for file uploads for Rails, Sinatra and other Ruby web frameworks. CarrierWave has a Content-Type allowlist bypass vulnerability, possibly leading to XSS. The validation in `allowlisted_content_type?` determines Content-Type permissions by performing a partial match. If the `content_type` argument of `allowlisted_content_type?` is passed a value crafted by the attacker, Content-Types not included in the `content_type_allowlist` will be allowed. This issue has been patched in versions 2.2.5 and 3.0.5. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2023-49090, GHSA-gxhx-g4fq-49hj
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-hway-mr71-cqgj |
|
| 1 |
| url |
VCID-phc1-hxmj-4qdw |
| vulnerability_id |
VCID-phc1-hxmj-4qdw |
| summary |
CarrierWave content-Type allowlist bypass vulnerability which possibly leads to XSS remained
The vulnerability [CVE-2023-49090](https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-gxhx-g4fq-49hj) wasn't fully addressed.
This vulnerability is caused by the fact that when uploading to object storage, including Amazon S3, it is possible to set a Content-Type value that is interpreted by browsers to be different from what's allowed by `content_type_allowlist`, by providing multiple values separated by commas.
This bypassed value can be used to cause XSS. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-29034, GHSA-vfmv-jfc5-pjjw
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-phc1-hxmj-4qdw |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:gem/carrierwave@3.0.2 |