USN-3199-2 (UBUNTU-CVE-2013-7459)
Vulnerability from osv_ubuntu – Published: 2017-02-17 17:34 – Updated: 2026-11-24 09:36 – Source websiteUSN-3199-1 fixed a vulnerability in the Python Cryptography Toolkit. Unfortunately, various programs depended on the original behavior of the Python Cryptography Toolkit which was altered when fixing the vulnerability. This update retains the fix for the vulnerability but issues a warning rather than throwing an exception. Code which produces this warning should be updated because future versions of the Python Cryptography Toolkit re-introduce the exception.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the ALGnew function in block_template.c in the Python Cryptography Toolkit contained a heap-based buffer overflow vulnerability. A remote attacker could use this flaw to execute arbitrary code by using a crafted initialization vector parameter.
| URL | Type |
|---|---|
| https://ubuntu.com/security/notices/USN-3199-2 | ADVISORY |
| https://ubuntu.com/security/CVE-2013-7459 | REPORT |
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
python-crypto
pkg:deb/ubuntu/python-crypto@2.6.1-4ubuntu0.2?arch=source&distro=trusty
|
Affected: < 2.6.1-4ubuntu0.2 (ecosystem)
2.6-52.6.1-22.6.1-2build12.6.1-32.6.1-42.6.1-4build12.6.1-4ubuntu0.1
|
| Ubuntu:16.04:LTS |
python-crypto
pkg:deb/ubuntu/python-crypto@2.6.1-6ubuntu0.16.04.2?arch=source&distro=xenial
|
Affected: < 2.6.1-6ubuntu0.16.04.2 (ecosystem)
2.6.1-5build12.6.1-62.6.1-6build12.6.1-6ubuntu0.16.04.1
|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2013-7459",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-crypto",
"binary_version": "2.6.1-4ubuntu0.2"
},
{
"binary_name": "python3-crypto",
"binary_version": "2.6.1-4ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "python-crypto",
"purl": "pkg:deb/ubuntu/python-crypto@2.6.1-4ubuntu0.2?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-4ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6-5",
"2.6.1-2",
"2.6.1-2build1",
"2.6.1-3",
"2.6.1-4",
"2.6.1-4build1",
"2.6.1-4ubuntu0.1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2013-7459",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-crypto",
"binary_version": "2.6.1-6ubuntu0.16.04.2"
},
{
"binary_name": "python3-crypto",
"binary_version": "2.6.1-6ubuntu0.16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "python-crypto",
"purl": "pkg:deb/ubuntu/python-crypto@2.6.1-6ubuntu0.16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-6ubuntu0.16.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.1-5build1",
"2.6.1-6",
"2.6.1-6build1",
"2.6.1-6ubuntu0.16.04.1"
]
}
],
"aliases": [],
"details": "USN-3199-1 fixed a vulnerability in the Python Cryptography Toolkit.\nUnfortunately, various programs depended on the original behavior of the Python\nCryptography Toolkit which was altered when fixing the vulnerability. This\nupdate retains the fix for the vulnerability but issues a warning rather than\nthrowing an exception. Code which produces this warning should be updated\nbecause future versions of the Python Cryptography Toolkit re-introduce the\nexception.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n It was discovered that the ALGnew function in block_template.c in the Python\n Cryptography Toolkit contained a heap-based buffer overflow vulnerability.\n A remote attacker could use this flaw to execute arbitrary code by using\n a crafted initialization vector parameter.\n",
"id": "USN-3199-2",
"modified": "2026-11-24T09:36:57Z",
"published": "2017-02-17T17:34:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3199-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2013-7459"
}
],
"related": [],
"schema_version": "1.9.2",
"summary": "Python Crypto regression",
"upstream": [
"UBUNTU-CVE-2013-7459"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.