CVE-2022-3697
Vulnerability from cvelistv5
Published
2022-10-28 00:00
Modified
2024-08-03 01:14
Severity ?
Summary
A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.
Impacted products
Vendor Product Version
n/a ansible, ansible community.aws, ansible amazon.aws Version: ansible from 2.5.0 before 2.10
Version: ansible community.aws before 2.0.0
Version: ansible amazon.aws from 2.1.0 before 5.1.0
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-03T01:14:03.351Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://github.com/ansible-collections/amazon.aws/pull/1199",
               },
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               product: "ansible, ansible community.aws, ansible amazon.aws",
               vendor: "n/a",
               versions: [
                  {
                     status: "affected",
                     version: "ansible from 2.5.0 before 2.10",
                  },
                  {
                     status: "affected",
                     version: "ansible community.aws before 2.0.0",
                  },
                  {
                     status: "affected",
                     version: "ansible amazon.aws from 2.1.0 before 5.1.0",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.",
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-233",
                     description: "CWE-233",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2022-10-28T00:00:00",
            orgId: "53f830b8-0a3f-465b-8143-3b8a9948e749",
            shortName: "redhat",
         },
         references: [
            {
               url: "https://github.com/ansible-collections/amazon.aws/pull/1199",
            },
            {
               url: "https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html",
            },
         ],
      },
   },
   cveMetadata: {
      assignerOrgId: "53f830b8-0a3f-465b-8143-3b8a9948e749",
      assignerShortName: "redhat",
      cveId: "CVE-2022-3697",
      datePublished: "2022-10-28T00:00:00",
      dateReserved: "2022-10-26T00:00:00",
      dateUpdated: "2024-08-03T01:14:03.351Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      fkie_nvd: {
         configurations: "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.5.0\", \"versionEndExcluding\": \"2.10.0\", \"matchCriteriaId\": \"9DBC8935-27B7-4048-92C9-942D24D116A0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:community_aws:*:*\", \"versionEndExcluding\": \"2.0.0\", \"matchCriteriaId\": \"2549F857-19D5-4359-BCE4-2DAB72D52F5B\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:aws:*:*\", \"versionStartIncluding\": \"2.1.0\", \"versionEndExcluding\": \"5.1.0\", \"matchCriteriaId\": \"D8990581-F433-4EB1-96B8-383A4342D6F7\"}]}]}]",
         descriptions: "[{\"lang\": \"en\", \"value\": \"A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.\"}, {\"lang\": \"es\", \"value\": \"Se encontr\\u00f3 una falla en Ansible en la colecci\\u00f3n amazon.aws al usar el par\\u00e1metro tower_callback del m\\u00f3dulo amazon.aws.ec2_instance. Esta falla permite que un atacante aproveche este problema ya que el m\\u00f3dulo maneja el par\\u00e1metro de manera insegura, lo que provoca que la contrase\\u00f1a se filtre en los registros.\"}]",
         id: "CVE-2022-3697",
         lastModified: "2024-11-21T07:20:03.293",
         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:N/A:N\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 3.9, \"impactScore\": 3.6}]}",
         published: "2022-10-28T16:15:16.403",
         references: "[{\"url\": \"https://github.com/ansible-collections/amazon.aws/pull/1199\", \"source\": \"secalert@redhat.com\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html\", \"source\": \"secalert@redhat.com\"}, {\"url\": \"https://github.com/ansible-collections/amazon.aws/pull/1199\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
         sourceIdentifier: "secalert@redhat.com",
         vulnStatus: "Modified",
         weaknesses: "[{\"source\": \"secalert@redhat.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-233\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"NVD-CWE-Other\"}]}]",
      },
      nvd: "{\"cve\":{\"id\":\"CVE-2022-3697\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2022-10-28T16:15:16.403\",\"lastModified\":\"2024-11-21T07:20:03.293\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A flaw was found in Ansible in the amazon.aws collection when using the tower_callback parameter from the amazon.aws.ec2_instance module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.\"},{\"lang\":\"es\",\"value\":\"Se encontró una falla en Ansible en la colección amazon.aws al usar el parámetro tower_callback del módulo amazon.aws.ec2_instance. Esta falla permite que un atacante aproveche este problema ya que el módulo maneja el parámetro de manera insegura, lo que provoca que la contraseña se filtre en los registros.\"}],\"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:N/A:N\",\"baseScore\":7.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":3.9,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"secalert@redhat.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-233\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.5.0\",\"versionEndExcluding\":\"2.10.0\",\"matchCriteriaId\":\"9DBC8935-27B7-4048-92C9-942D24D116A0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:community_aws:*:*\",\"versionEndExcluding\":\"2.0.0\",\"matchCriteriaId\":\"2549F857-19D5-4359-BCE4-2DAB72D52F5B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:redhat:ansible_collection:*:*:*:*:*:aws:*:*\",\"versionStartIncluding\":\"2.1.0\",\"versionEndExcluding\":\"5.1.0\",\"matchCriteriaId\":\"D8990581-F433-4EB1-96B8-383A4342D6F7\"}]}]}],\"references\":[{\"url\":\"https://github.com/ansible-collections/amazon.aws/pull/1199\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://github.com/ansible-collections/amazon.aws/pull/1199\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.