CVE-2021-33473
Arbitrary file write in dragonfly
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB.
Description
An argument injection vulnerability in Dragonfly Ruby Gem v1.3.0 allows attackers to read and write arbitrary files when the verify_url option is disabled. This vulnerability is exploited via a crafted URL.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | dragonfly | 1.4.0 |
| rubygems::Ruby Advisory Database | dragonfly | >= 1.4.0 |
References
- https://github.com/markevans/dragonfly
- https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5
- https://github.com/markevans/dragonfly/issues/513
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dragonfly/CVE-2021-33473.yml
- https://nvd.nist.gov/vuln/detail/CVE-2021-33473
- https://security.netapp.com/advisory/ntap-20220715-0004
- https://security.netapp.com/advisory/ntap-20220715-0004/