CVE-2021-38189 (GCVE-0-2021-38189)
Vulnerability from cvelistv5 – Published: 2021-08-08 05:10 – Updated: 2024-08-04 01:37
VLAI?
Summary
An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two <CR><LF> sequences and then inject arbitrary SMTP commands.
Severity ?
No CVSS data available.
CWE
- n/a
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-04T01:37:15.947Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html"
},
{
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two \u003cCR\u003e\u003cLF\u003e sequences and then inject arbitrary SMTP commands."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2021-08-08T05:10:12",
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre"
},
"references": [
{
"tags": [
"x_refsource_MISC"
],
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html"
},
{
"tags": [
"x_refsource_MISC"
],
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-38189",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two \u003cCR\u003e\u003cLF\u003e sequences and then inject arbitrary SMTP commands."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html",
"refsource": "MISC",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html"
},
{
"name": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md",
"refsource": "MISC",
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"cveId": "CVE-2021-38189",
"datePublished": "2021-08-08T05:10:12",
"dateReserved": "2021-08-08T00:00:00",
"dateUpdated": "2024-08-04T01:37:15.947Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2021-38189\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2021-08-08T06:15:08.893\",\"lastModified\":\"2024-11-21T06:16:36.260\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An issue was discovered in the lettre crate before 0.9.6 for Rust. In an e-mail message body, an attacker can place a . character after two \u003cCR\u003e\u003cLF\u003e sequences and then inject arbitrary SMTP commands.\"},{\"lang\":\"es\",\"value\":\"Se ha detectado un problema en la crate lettre versiones anteriores a 0.9.6 para Rust. En el cuerpo de un mensaje de correo electr\u00f3nico, un atacante puede colocar un car\u00e1cter . despu\u00e9s de dos secuencias (CR)(LF) y luego inyectar comandos SMTP arbitrario\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-77\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:*:*:*:*:*:rust:*:*\",\"versionEndExcluding\":\"0.9.6\",\"matchCriteriaId\":\"01316A21-59B8-4A08-9207-E9F4FCB804B0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:alpha1:*:*:*:rust:*:*\",\"matchCriteriaId\":\"8B34BD62-3AB1-40B6-AEBB-15C0CD298925\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:alpha2:*:*:*:rust:*:*\",\"matchCriteriaId\":\"6D7DFF7E-BF84-41A4-B98C-077D3131094A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:alpha3:*:*:*:rust:*:*\",\"matchCriteriaId\":\"D5133FCD-F567-40FC-9177-AD384015E9FD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:alpha4:*:*:*:rust:*:*\",\"matchCriteriaId\":\"A5E3F87C-1713-4C5D-AAFD-BC0529AE648D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:alpha5:*:*:*:rust:*:*\",\"matchCriteriaId\":\"EEE2A4E4-D834-464F-A6A4-7E06E1C2110C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:beta1:*:*:*:rust:*:*\",\"matchCriteriaId\":\"7A6A221B-FE4C-4CCB-83D3-B835664499EC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:beta2:*:*:*:rust:*:*\",\"matchCriteriaId\":\"DBED2BD1-4497-4E8F-9CDE-600E29CE0F20\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:beta3:*:*:*:rust:*:*\",\"matchCriteriaId\":\"CC28A0F2-0E4C-4F86-AEF9-AD619F41CE56\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:beta4:*:*:*:rust:*:*\",\"matchCriteriaId\":\"EDF7A66C-2831-4A02-921B-B528C46F6D29\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:rc1:*:*:*:rust:*:*\",\"matchCriteriaId\":\"744FE0A6-42D8-4FBB-B673-B7AE4BC33D3C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:lettre:lettre:0.10.0:rc2:*:*:*:rust:*:*\",\"matchCriteriaId\":\"D2573F65-FA57-4B01-B65D-4CF57AEFEBEE\"}]}]}],\"references\":[{\"url\":\"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md\",\"source\":\"cve@mitre.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://rustsec.org/advisories/RUSTSEC-2021-0069.html\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://rustsec.org/advisories/RUSTSEC-2021-0069.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Patch\",\"Third Party Advisory\"]}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…