{
    "CVE_data_meta": {
        "ASSIGNER": "security@ubuntu.com",
        "ID": "CVE-2012-0954",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "APT 0.7.x before 0.7.25 and 0.8.x before 0.8.16, when using the apt-key net-update to import keyrings, relies on GnuPG argument order and does not check GPG subkeys, which might allow remote attackers to install altered packages via a man-in-the-middle (MITM) attack.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-3587."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "20120614 Using second gpg keyring may be misleading?",
                "refsource": "FULLDISC",
                "url": "http://seclists.org/fulldisclosure/2012/Jun/271"
            },
            {
                "name": "54046",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/54046"
            },
            {
                "name": "20120612 Strange gpg key shadowing",
                "refsource": "FULLDISC",
                "url": "http://seclists.org/fulldisclosure/2012/Jun/267"
            },
            {
                "name": "USN-1477-1",
                "refsource": "UBUNTU",
                "url": "http://www.ubuntu.com/usn/USN-1477-1"
            },
            {
                "name": "USN-1475-1",
                "refsource": "UBUNTU",
                "url": "http://www.ubuntu.com/usn/USN-1475-1"
            },
            {
                "name": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128",
                "refsource": "CONFIRM",
                "url": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013128"
            },
            {
                "name": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639",
                "refsource": "CONFIRM",
                "url": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013639"
            },
            {
                "name": "20120615 ubuntu apt-key (part 3)",
                "refsource": "FULLDISC",
                "url": "http://seclists.org/fulldisclosure/2012/Jun/289"
            },
            {
                "name": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681",
                "refsource": "CONFIRM",
                "url": "https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1013681"
            }
        ]
    }
}