rhsa-2017_2524
Vulnerability from csaf_redhat
Published
2017-08-22 17:40
Modified
2024-11-14 23:36
Summary
Red Hat Security Advisory: ansible security, bug fix, and enhancement update

Notes

Topic
An update for ansible is now available for RHEV Engine version 4.1. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Ansible is a simple model-driven configuration management, multi-node deployment, and remote-task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. The following packages have been upgraded to a later upstream version: ansible (2.3.1.0). (BZ#1477925) Security Fix(es): * An input validation flaw was found in Ansible, where it fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated. (CVE-2017-7481) This issue was discovered by Evgeni Golov (Red Hat).
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for ansible is now available for RHEV Engine version 4.1.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Ansible is a simple model-driven configuration management, multi-node\ndeployment, and remote-task execution system. Ansible works over SSH and\ndoes not require any software or daemons to be installed on remote nodes.\nExtension modules can be written in any language and are transferred to\nmanaged machines automatically.\n\nThe following packages have been upgraded to a later upstream version: ansible (2.3.1.0). (BZ#1477925)\n\nSecurity Fix(es):\n\n* An input validation flaw was found in Ansible, where it fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as \u0027unsafe\u0027 and is not evaluated. (CVE-2017-7481)\n\nThis issue was discovered by Evgeni Golov (Red Hat).",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2017:2524",
        "url": "https://access.redhat.com/errata/RHSA-2017:2524"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "1450018",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1450018"
      },
      {
        "category": "external",
        "summary": "1477925",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1477925"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2524.json"
      }
    ],
    "title": "Red Hat Security Advisory: ansible security, bug fix, and enhancement update",
    "tracking": {
      "current_release_date": "2024-11-14T23:36:55+00:00",
      "generator": {
        "date": "2024-11-14T23:36:55+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2017:2524",
      "initial_release_date": "2017-08-22T17:40:30+00:00",
      "revision_history": [
        {
          "date": "2017-08-22T17:40:30+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2017-08-22T20:13:55+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-14T23:36:55+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Virtualization Manager 4.1",
                "product": {
                  "name": "Red Hat Virtualization Manager 4.1",
                  "product_id": "7Server-RHV-S-4.1",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhev_manager:4"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Virtualization"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ansible-doc-0:2.3.1.0-3.el7.noarch",
                "product": {
                  "name": "ansible-doc-0:2.3.1.0-3.el7.noarch",
                  "product_id": "ansible-doc-0:2.3.1.0-3.el7.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible-doc@2.3.1.0-3.el7?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "ansible-0:2.3.1.0-3.el7.noarch",
                "product": {
                  "name": "ansible-0:2.3.1.0-3.el7.noarch",
                  "product_id": "ansible-0:2.3.1.0-3.el7.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.3.1.0-3.el7?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "ansible-0:2.3.1.0-3.el7.src",
                "product": {
                  "name": "ansible-0:2.3.1.0-3.el7.src",
                  "product_id": "ansible-0:2.3.1.0-3.el7.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/ansible@2.3.1.0-3.el7?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.3.1.0-3.el7.noarch as a component of Red Hat Virtualization Manager 4.1",
          "product_id": "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.noarch"
        },
        "product_reference": "ansible-0:2.3.1.0-3.el7.noarch",
        "relates_to_product_reference": "7Server-RHV-S-4.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-0:2.3.1.0-3.el7.src as a component of Red Hat Virtualization Manager 4.1",
          "product_id": "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.src"
        },
        "product_reference": "ansible-0:2.3.1.0-3.el7.src",
        "relates_to_product_reference": "7Server-RHV-S-4.1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ansible-doc-0:2.3.1.0-3.el7.noarch as a component of Red Hat Virtualization Manager 4.1",
          "product_id": "7Server-RHV-S-4.1:ansible-doc-0:2.3.1.0-3.el7.noarch"
        },
        "product_reference": "ansible-doc-0:2.3.1.0-3.el7.noarch",
        "relates_to_product_reference": "7Server-RHV-S-4.1"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Evgeni Golov"
          ],
          "organization": "Red Hat",
          "summary": "This issue was discovered by Red Hat."
        }
      ],
      "cve": "CVE-2017-7481",
      "cwe": {
        "id": "CWE-20",
        "name": "Improper Input Validation"
      },
      "discovery_date": "2017-04-13T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1450018"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "An input validation flaw was found in Ansible, where it fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as \u0027unsafe\u0027 and is not evaluated.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "ansible: Security issue with lookup return not tainting the jinja2 environment",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.noarch",
          "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.src",
          "7Server-RHV-S-4.1:ansible-doc-0:2.3.1.0-3.el7.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-7481"
        },
        {
          "category": "external",
          "summary": "RHBZ#1450018",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1450018"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-7481",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-7481"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-7481",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7481"
        }
      ],
      "release_date": "2017-05-09T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2017-08-22T17:40:30+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.noarch",
            "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.src",
            "7Server-RHV-S-4.1:ansible-doc-0:2.3.1.0-3.el7.noarch"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2017:2524"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.0"
          },
          "products": [
            "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.noarch",
            "7Server-RHV-S-4.1:ansible-0:2.3.1.0-3.el7.src",
            "7Server-RHV-S-4.1:ansible-doc-0:2.3.1.0-3.el7.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "ansible: Security issue with lookup return not tainting the jinja2 environment"
    }
  ]
}


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 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.