FKIE_CVE-2021-38189

Vulnerability from fkie_nvd - Published: 2021-08-08 06:15 - Updated: 2024-11-21 06:16
Severity ?
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.
Impacted products
Vendor Product Version
lettre lettre *
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0
lettre lettre 0.10.0

{
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:lettre:lettre:*:*:*:*:*:rust:*:*",
              "matchCriteriaId": "01316A21-59B8-4A08-9207-E9F4FCB804B0",
              "versionEndExcluding": "0.9.6",
              "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",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "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"
    }
  ],
  "id": "CVE-2021-38189",
  "lastModified": "2024-11-21T06:16:36.260",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "HIGH",
        "cvssData": {
          "accessComplexity": "LOW",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 7.5,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 10.0,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": false
      }
    ],
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 9.8,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2021-08-08T06:15:08.893",
  "references": [
    {
      "source": "cve@mitre.org",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lettre/RUSTSEC-2021-0069.md"
    },
    {
      "source": "cve@mitre.org",
      "tags": [
        "Exploit",
        "Issue Tracking",
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "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": [
        "Exploit",
        "Issue Tracking",
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0069.html"
    }
  ],
  "sourceIdentifier": "cve@mitre.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-77"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…