{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-3701",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-276 - Incorrect Default Permissions",
                        "cweId": "CWE-276"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ansible-runner",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "Affects ansible-runner 2.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959",
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1977959"
            },
            {
                "url": "https://access.redhat.com/security/cve/CVE-2021-3701",
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2021-3701"
            },
            {
                "url": "https://github.com/ansible/ansible-runner/issues/738",
                "refsource": "MISC",
                "name": "https://github.com/ansible/ansible-runner/issues/738"
            },
            {
                "url": "https://github.com/ansible/ansible-runner/pull/742/commits",
                "refsource": "MISC",
                "name": "https://github.com/ansible/ansible-runner/pull/742/commits"
            }
        ]
    }
}