CVE-2020-28247 json
Argument injection in lettre
published 5y ago modified 4mo ago also GHSA-vc2p-r46x-m3vx , RUSTSEC-2020-0069 , EUVD-2021-1888
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
The lettre library through 0.10.0-alpha for Rust allows arbitrary sendmail option injection via transport/sendmail/mod.rs.
Patch / fix
- crates.io lettre 0.7.1, 0.8.4, 0.9.5, 0.10.0-alpha.4
- github.com/lettre/lettre#508 commit
- github.com/RustSec/advisory-db#478 advisory
Is CVE-2020-28247 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.52% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | lettre | >=0.9.0, <0.9.5 >=0.8.0, <0.8.4 >=0.7.0, <0.7.1 >=0.10.0-alpha.1, <0.10.0-alpha.4 |
0.9.5 0.8.4 0.7.1 0.10.0-alpha.4 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/RustSec/advisory-db/pull/478/files
web, patch, third-party-advisory
-
github.com
/lettre/lettre/pull/508/commits/bbe7cc5381c5380b54fb8bbb4f77a3725917ff0b
web
-
github.com
/lettre/lettre
package, product, third-party-advisory
-
rustsec.org
/advisories/RUSTSEC-2020-0069.html
web, third-party-advisory, advisory
-
github.com
/lettre/lettre/security/advisories/GHSA-vc2p-r46x-m3vx
web
-
nvd.nist.gov
/vuln/detail/CVE-2020-28247
advisory
-
crates.io
/crates/lettre
package
Sources
- CVE List CVE-2020-28247
- GitHub Advisory GHSA-vc2p-r46x-m3vx
- NVD CVE-2020-28247
- OSV RUSTSEC-2020-0069
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.