CVE-2009-1358
publishedapt: incorrect gpg exit status checking when verifying repository signature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | etch | apt | Advisory build | 0.6.46.4-0.1+etch1 | DSA-1779-1 |
| Debian | lenny | apt | Advisory build | 0.7.20.2+lenny1 | DSA-1779-1 |
Description
apt-get in apt before 0.7.21 does not check for the correct error code from gpgv, which causes apt to treat a repository as valid even when it has been signed with a key that has been revoked or expired, which might allow remote attackers to trick apt into installing malicious repositories.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433091
- 34829 http://secunia.com/advisories/34829
- 34832 http://secunia.com/advisories/34832
- 34874 http://secunia.com/advisories/34874
- DSA-1779 http://www.debian.org/security/2009/dsa-1779
- 34630 http://www.securityfocus.com/bid/34630
- https://bugs.launchpad.net/ubuntu/+source/apt/+bug/356012
- apt-aptget-gpgv-security-bypass(50086) https://exchange.xforce.ibmcloud.com/vulnerabilities/50086
- USN-762-1 https://usn.ubuntu.com/762-1/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 25494e224e34c094705fbd6523c5ca2d5360a34f2de454f4bad3b104b5ff760f
- Ingested
- 23 Sep 2026, 07:38:36 UTC
- Source record
- Official CVE record