rhsa-2012_1233
Vulnerability from csaf_redhat
Published
2012-09-05 16:31
Modified
2024-11-05 17:50
Summary
Red Hat Security Advisory: qemu-kvm-rhev security and bug fix update

Notes

Topic
Updated qemu-kvm-rhev packages that fix one security issue and two bugs are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.
Details
KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on AMD64 and Intel 64 systems. The qemu-kvm-rhev packages form the user-space component for running virtual machines using KVM. A flaw was found in the way QEMU handled VT100 terminal escape sequences when emulating certain character devices. A guest user with privileges to write to a character device that is emulated on the host using a virtual console back-end could use this flaw to crash the qemu-kvm process on the host or, possibly, escalate their privileges on the host. (CVE-2012-3515) When using qemu-kvm-rhev on a Red Hat Enterprise Linux 6 host not managed by Red Hat Enterprise Virtualization: * This flaw did not affect the default use of KVM. Affected configurations were: - When guests were started from the command line ("/usr/libexec/qemu-kvm") without the "-nodefaults" option, and also without specifying a serial or parallel device, or a virtio-console device, that specifically does not use a virtual console (vc) back-end. (Note that Red Hat does not support invoking "qemu-kvm" from the command line without "-nodefaults" on Red Hat Enterprise Linux 6.) - Guests that were managed via libvirt, such as when using Virtual Machine Manager (virt-manager), but that have a serial or parallel device, or a virtio-console device, that uses a virtual console back-end. By default, guests managed via libvirt will not use a virtual console back-end for such devices. When using qemu-kvm-rhev on a Red Hat Enterprise Virtualization managed Red Hat Enterprise Linux 6 host: * This flaw did not affect the default use of a Red Hat Enterprise Virtualization host: it is not possible to add a device that uses a virtual console back-end via Red Hat Enterprise Virtualization Manager. To specify a virtual console back-end for a device and therefore be vulnerable to this issue, the device would have to be created another way, for example, by using a VDSM hook. Red Hat would like to thank the Xen project for reporting this issue. This update also fixes the following bugs: * Previously, the KVM modules were not loaded by the postinstall scriptlet of RPM scripts. This bug caused various issues and required the system to be rebooted to resolve them. With this update, the modules are loaded properly by the scriptlet and no unnecessary reboots are now required. (BZ#839897) * Previously, when a guest was started up with two serial devices, qemu-kvm returned an error message and terminated the boot because IRQ 4 for the ISA bus was being used by both devices. This update fixes the qemu-kvm code, which allows IRQ 4 to be used by more than one device on the ISA bus, and the boot now succeeds in the described scenario. (BZ#840054) All users of qemu-kvm-rhev are advised to upgrade to these updated packages, which fix these issues. After installing this update, shut down all running virtual machines. Once all virtual machines have shut down, start them again for this update to take effect.
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": "Important"
    },
    "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": "Updated qemu-kvm-rhev packages that fix one security issue and two bugs are\nnow available for Red Hat Enterprise Linux 6.\n\nThe Red Hat Security Response Team has rated this update as having\nimportant security impact. A Common Vulnerability Scoring System (CVSS)\nbase score, which gives a detailed severity rating, is available from the\nCVE link in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "KVM (Kernel-based Virtual Machine) is a full virtualization solution for\nLinux on AMD64 and Intel 64 systems. The qemu-kvm-rhev packages form the\nuser-space component for running virtual machines using KVM.\n\nA flaw was found in the way QEMU handled VT100 terminal escape sequences\nwhen emulating certain character devices. A guest user with privileges to\nwrite to a character device that is emulated on the host using a virtual\nconsole back-end could use this flaw to crash the qemu-kvm process on the\nhost or, possibly, escalate their privileges on the host. (CVE-2012-3515)\n\nWhen using qemu-kvm-rhev on a Red Hat Enterprise Linux 6 host not managed\nby Red Hat Enterprise Virtualization:\n\n* This flaw did not affect the default use of KVM. Affected configurations\nwere:\n\n- When guests were started from the command line (\"/usr/libexec/qemu-kvm\")\nwithout the \"-nodefaults\" option, and also without specifying a\nserial or parallel device, or a virtio-console device, that specifically\ndoes not use a virtual console (vc) back-end. (Note that Red Hat does not\nsupport invoking \"qemu-kvm\" from the command line without \"-nodefaults\" on\nRed Hat Enterprise Linux 6.)\n\n- Guests that were managed via libvirt, such as when using Virtual Machine\nManager (virt-manager), but that have a serial or parallel device, or a\nvirtio-console device, that uses a virtual console back-end. By default,\nguests managed via libvirt will not use a virtual console back-end for such\ndevices.\n\nWhen using qemu-kvm-rhev on a Red Hat Enterprise Virtualization managed Red\nHat Enterprise Linux 6 host:\n\n* This flaw did not affect the default use of a Red Hat Enterprise\nVirtualization host: it is not possible to add a device that uses a virtual\nconsole back-end via Red Hat Enterprise Virtualization Manager.\n\nTo specify a virtual console back-end for a device and therefore be\nvulnerable to this issue, the device would have to be created another way,\nfor example, by using a VDSM hook.\n\nRed Hat would like to thank the Xen project for reporting this issue.\n\nThis update also fixes the following bugs:\n\n* Previously, the KVM modules were not loaded by the postinstall scriptlet\nof RPM scripts. This bug caused various issues and required the system to\nbe rebooted to resolve them. With this update, the modules are loaded\nproperly by the scriptlet and no unnecessary reboots are now required.\n(BZ#839897)\n\n* Previously, when a guest was started up with two serial devices, qemu-kvm\nreturned an error message and terminated the boot because IRQ 4 for the ISA\nbus was being used by both devices. This update fixes the qemu-kvm code,\nwhich allows IRQ 4 to be used by more than one device on the ISA bus, and\nthe boot now succeeds in the described scenario. (BZ#840054)\n\nAll users of qemu-kvm-rhev are advised to upgrade to these updated\npackages, which fix these issues. After installing this update, shut down\nall running virtual machines. Once all virtual machines have shut down,\nstart them again for this update to take effect.",
        "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-2012:1233",
        "url": "https://access.redhat.com/errata/RHSA-2012:1233"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "851252",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=851252"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1233.json"
      }
    ],
    "title": "Red Hat Security Advisory: qemu-kvm-rhev security and bug fix update",
    "tracking": {
      "current_release_date": "2024-11-05T17:50:38+00:00",
      "generator": {
        "date": "2024-11-05T17:50:38+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.1.1"
        }
      },
      "id": "RHSA-2012:1233",
      "initial_release_date": "2012-09-05T16:31:00+00:00",
      "revision_history": [
        {
          "date": "2012-09-05T16:31:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2012-09-05T16:35:45+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-05T17:50:38+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "RHEV Agents (vdsm)",
                "product": {
                  "name": "RHEV Agents (vdsm)",
                  "product_id": "6Server-RHEV-Agents",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:enterprise_linux:6::hypervisor"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Virtualization"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
                "product": {
                  "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
                  "product_id": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/qemu-kvm-rhev@0.12.1.2-2.295.el6_3.2?arch=src\u0026epoch=2"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                "product": {
                  "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_id": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/qemu-kvm-rhev@0.12.1.2-2.295.el6_3.2?arch=x86_64\u0026epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                "product": {
                  "name": "qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_id": "qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/qemu-img-rhev@0.12.1.2-2.295.el6_3.2?arch=x86_64\u0026epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
                "product": {
                  "name": "qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_id": "qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/qemu-kvm-rhev-debuginfo@0.12.1.2-2.295.el6_3.2?arch=x86_64\u0026epoch=2"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64",
                "product": {
                  "name": "qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_id": "qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/qemu-kvm-rhev-tools@0.12.1.2-2.295.el6_3.2?arch=x86_64\u0026epoch=2"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64 as a component of RHEV Agents (vdsm)",
          "product_id": "6Server-RHEV-Agents:qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64"
        },
        "product_reference": "qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
        "relates_to_product_reference": "6Server-RHEV-Agents"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src as a component of RHEV Agents (vdsm)",
          "product_id": "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src"
        },
        "product_reference": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
        "relates_to_product_reference": "6Server-RHEV-Agents"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64 as a component of RHEV Agents (vdsm)",
          "product_id": "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64"
        },
        "product_reference": "qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
        "relates_to_product_reference": "6Server-RHEV-Agents"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64 as a component of RHEV Agents (vdsm)",
          "product_id": "6Server-RHEV-Agents:qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64"
        },
        "product_reference": "qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
        "relates_to_product_reference": "6Server-RHEV-Agents"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64 as a component of RHEV Agents (vdsm)",
          "product_id": "6Server-RHEV-Agents:qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64"
        },
        "product_reference": "qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64",
        "relates_to_product_reference": "6Server-RHEV-Agents"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Xen project"
          ]
        }
      ],
      "cve": "CVE-2012-3515",
      "cwe": {
        "id": "CWE-119",
        "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer"
      },
      "discovery_date": "2012-08-23T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "851252"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Qemu, as used in Xen 4.0, 4.1 and possibly other products, when emulating certain devices with a virtual console backend, allows local OS guest users to gain privileges via a crafted escape VT100 sequence that triggers the overwrite of a \"device model\u0027s address space.\"",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "qemu: VT100 emulation vulnerability",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This issue did affect the versions of xen package as shipped with Red Hat\nEnterprise Linux 5.\n\nThis issue did affect the versions of kvm package as shipped with Red Hat\nEnterprise Linux 5.\n\nThis issue did affect the versions of qemu-kvm package as shipped with Red Hat\nEnterprise Linux 6.",
          "title": "Statement"
        },
        {
          "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": [
          "6Server-RHEV-Agents:qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
          "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
          "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
          "6Server-RHEV-Agents:qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
          "6Server-RHEV-Agents:qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-3515"
        },
        {
          "category": "external",
          "summary": "RHBZ#851252",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=851252"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-3515",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-3515"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-3515",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-3515"
        }
      ],
      "release_date": "2012-09-05T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2012-09-05T16:31:00+00:00",
          "details": "Before applying this update, make sure all previously-released errata\nrelevant to your system have been applied.\n\nThis update is available via the Red Hat Network. Details on how to\nuse the Red Hat Network to apply this update are available at\nhttps://access.redhat.com/knowledge/articles/11258",
          "product_ids": [
            "6Server-RHEV-Agents:qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
            "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2012:1233"
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "ADJACENT_NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "COMPLETE",
            "baseScore": 7.4,
            "confidentialityImpact": "COMPLETE",
            "integrityImpact": "COMPLETE",
            "vectorString": "AV:A/AC:M/Au:S/C:C/I:C/A:C",
            "version": "2.0"
          },
          "products": [
            "6Server-RHEV-Agents:qemu-img-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.src",
            "6Server-RHEV-Agents:qemu-kvm-rhev-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-debuginfo-2:0.12.1.2-2.295.el6_3.2.x86_64",
            "6Server-RHEV-Agents:qemu-kvm-rhev-tools-2:0.12.1.2-2.295.el6_3.2.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "qemu: VT100 emulation vulnerability"
    }
  ]
}


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.