{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "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": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-1000382.json"
      }
    ],
    "title": "vim: Ignores umask when creating a swap file",
    "tracking": {
      "current_release_date": "2026-11-07T10:41:44+00:00",
      "generator": {
        "date": "2026-11-07T10:41:44+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.5"
        }
      },
      "id": "CVE-2017-1000382",
      "initial_release_date": "2017-10-31T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2017-10-31T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-05-13T00:49:34+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-07T10:41:44+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "category": "product_version",
            "name": "vim.src",
            "product": {
              "name": "vim.src",
              "product_id": "vim.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "vim-common",
            "product": {
              "name": "vim-common",
              "product_id": "vim-common",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim-common"
              }
            }
          },
          {
            "category": "product_version",
            "name": "vim-X11",
            "product": {
              "name": "vim-X11",
              "product_id": "vim-X11",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim-X11"
              }
            }
          },
          {
            "category": "product_version",
            "name": "vim-enhanced",
            "product": {
              "name": "vim-enhanced",
              "product_id": "vim-enhanced",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim-enhanced"
              }
            }
          },
          {
            "category": "product_version",
            "name": "vim-filesystem",
            "product": {
              "name": "vim-filesystem",
              "product_id": "vim-filesystem",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim-filesystem"
              }
            }
          },
          {
            "category": "product_version",
            "name": "vim-minimal",
            "product": {
              "name": "vim-minimal",
              "product_id": "vim-minimal",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/vim-minimal"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:vim.src"
        },
        "product_reference": "vim.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-X11 as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim-X11"
        },
        "product_reference": "vim-X11",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-common as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim-common"
        },
        "product_reference": "vim-common",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-enhanced as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim-enhanced"
        },
        "product_reference": "vim-enhanced",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-filesystem as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim-filesystem"
        },
        "product_reference": "vim-filesystem",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-minimal as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim-minimal"
        },
        "product_reference": "vim-minimal",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:vim.src"
        },
        "product_reference": "vim.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-X11 as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim-X11"
        },
        "product_reference": "vim-X11",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-common as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim-common"
        },
        "product_reference": "vim-common",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-enhanced as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim-enhanced"
        },
        "product_reference": "vim-enhanced",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-filesystem as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim-filesystem"
        },
        "product_reference": "vim-filesystem",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-minimal as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim-minimal"
        },
        "product_reference": "vim-minimal",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:vim.src"
        },
        "product_reference": "vim.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2017-1000382",
      "cwe": {
        "id": "CWE-266",
        "name": "Incorrect Privilege Assignment"
      },
      "discovery_date": "2017-10-31T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1508786"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "It was found that vim applies the opened file read permissions to the swap file, overriding the process' umask. An attacker might search for vim swap files that were not deleted properly, in order to retrieve sensitive data.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "vim: Ignores umask when creating a swap file",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_5:vim.src",
          "red_hat_enterprise_linux_6:vim-X11",
          "red_hat_enterprise_linux_6:vim-common",
          "red_hat_enterprise_linux_6:vim-enhanced",
          "red_hat_enterprise_linux_6:vim-filesystem",
          "red_hat_enterprise_linux_6:vim-minimal",
          "red_hat_enterprise_linux_6:vim.src",
          "red_hat_enterprise_linux_7:vim-X11",
          "red_hat_enterprise_linux_7:vim-common",
          "red_hat_enterprise_linux_7:vim-enhanced",
          "red_hat_enterprise_linux_7:vim-filesystem",
          "red_hat_enterprise_linux_7:vim-minimal",
          "red_hat_enterprise_linux_7:vim.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2017-1000382"
        },
        {
          "category": "external",
          "summary": "RHBZ#1508786",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1508786"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2017-1000382",
          "url": "https://www.cve.org/CVERecord?id=CVE-2017-1000382"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000382",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000382"
        }
      ],
      "release_date": "2017-10-31T00:00:00+00:00",
      "remediations": [
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_enterprise_linux_5:vim.src",
            "red_hat_enterprise_linux_6:vim-X11",
            "red_hat_enterprise_linux_6:vim-common",
            "red_hat_enterprise_linux_6:vim-enhanced",
            "red_hat_enterprise_linux_6:vim-filesystem",
            "red_hat_enterprise_linux_6:vim-minimal",
            "red_hat_enterprise_linux_6:vim.src",
            "red_hat_enterprise_linux_7:vim-X11",
            "red_hat_enterprise_linux_7:vim-common",
            "red_hat_enterprise_linux_7:vim-enhanced",
            "red_hat_enterprise_linux_7:vim-filesystem",
            "red_hat_enterprise_linux_7:vim-minimal",
            "red_hat_enterprise_linux_7:vim.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:vim.src",
            "red_hat_enterprise_linux_6:vim-X11",
            "red_hat_enterprise_linux_6:vim-common",
            "red_hat_enterprise_linux_6:vim-enhanced",
            "red_hat_enterprise_linux_6:vim-filesystem",
            "red_hat_enterprise_linux_6:vim-minimal",
            "red_hat_enterprise_linux_6:vim.src",
            "red_hat_enterprise_linux_7:vim-X11",
            "red_hat_enterprise_linux_7:vim-common",
            "red_hat_enterprise_linux_7:vim-enhanced",
            "red_hat_enterprise_linux_7:vim-filesystem",
            "red_hat_enterprise_linux_7:vim-minimal",
            "red_hat_enterprise_linux_7:vim.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_enterprise_linux_5:vim.src",
            "red_hat_enterprise_linux_6:vim-X11",
            "red_hat_enterprise_linux_6:vim-common",
            "red_hat_enterprise_linux_6:vim-enhanced",
            "red_hat_enterprise_linux_6:vim-filesystem",
            "red_hat_enterprise_linux_6:vim-minimal",
            "red_hat_enterprise_linux_6:vim.src",
            "red_hat_enterprise_linux_7:vim-X11",
            "red_hat_enterprise_linux_7:vim-common",
            "red_hat_enterprise_linux_7:vim-enhanced",
            "red_hat_enterprise_linux_7:vim-filesystem",
            "red_hat_enterprise_linux_7:vim-minimal",
            "red_hat_enterprise_linux_7:vim.src"
          ]
        }
      ],
      "title": "vim: Ignores umask when creating a swap file"
    }
  ]
}