5.3
MEDIUM
CVE-2016-6313
Libgcrypt/GnuPG Predictable Random Number Vuln
Description

The mixing functions in the random number generator in Libgcrypt before 1.5.6, 1.6.x before 1.6.6, and 1.7.x before 1.7.3 and GnuPG before 1.4.21 make it easier for attackers to obtain the values of 160 bits by leveraging knowledge of the previous 4640 bits.

INFO

Published Date :

Dec. 13, 2016, 8:59 p.m.

Last Modified :

Nov. 7, 2023, 2:33 a.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-6313 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-6313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gnupg libgcrypt
2 Gnupg gnupg
1 Canonical ubuntu_linux
1 Debian debian_linux

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Reference code for the blog / video tutorial of Up and running with Lacework and Packer

Updated: 1 year ago
2 stars 3 fork 3 watcher
Born at : Sept. 24, 2020, 6:53 p.m. This repo has been linked 10 different CVEs too.

Reference code from the Up and Running with Lacework and Packer blog and YouTube video

Updated: 4 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Sept. 23, 2020, 4:49 a.m. This repo has been linked 10 different CVEs too.

A history of PGP-related vulnerabilities

Updated: 3 months, 1 week ago
21 stars 4 fork 4 watcher
Born at : May 15, 2020, 9:42 a.m. This repo has been linked 15 different CVEs too.

None

Makefile Go Dockerfile

Updated: 1 year, 2 months ago
1 stars 0 fork 0 watcher
Born at : Aug. 21, 2018, 2:07 a.m. This repo has been linked 5 different CVEs too.

Vulnerability scanner for Linux/FreeBSD, agentless, written in golang.

Makefile Go

Updated: 1 year, 5 months ago
1 stars 2 fork 2 watcher
Born at : Aug. 27, 2017, 8:17 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-6313 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6313 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=blob_plain%3Bf=NEWS [No types assigned]
    Removed Reference Red Hat, Inc. https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=NEWS
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-2674.html [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 16, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1036635 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201612-01 [No Types Assigned]
    Added Reference https://security.gentoo.org/glsa/201610-04 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 16, 2016

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type http://www.ubuntu.com/usn/USN-3065-1 No Types Assigned http://www.ubuntu.com/usn/USN-3065-1 Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-3064-1 No Types Assigned http://www.ubuntu.com/usn/USN-3064-1 Third Party Advisory
    Changed Reference Type https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000395.html No Types Assigned https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000395.html Mailing List, Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/92527 No Types Assigned http://www.securityfocus.com/bid/92527 Third Party Advisory, VDB Entry
    Changed Reference Type https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=NEWS No Types Assigned https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob_plain;f=NEWS Vendor Advisory
    Changed Reference Type http://www.debian.org/security/2016/dsa-3649 No Types Assigned http://www.debian.org/security/2016/dsa-3649 Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2016/dsa-3650 No Types Assigned http://www.debian.org/security/2016/dsa-3650 Third Party Advisory
    Added CWE CWE-200
    Added CPE Configuration OR *cpe:2.3:a:gnupg:libgcrypt:1.5.3:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:gnupg:libgcrypt:1.6.0:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.6.1:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.6.2:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.6.3:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.6.4:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.6.5:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.7.0:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.7.1:*:*:*:*:*:*:* *cpe:2.3:a:gnupg:libgcrypt:1.7.2:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:gnupg:gnupg:1.4.14:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Dec. 15, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/92527 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-6313 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-6313 weaknesses.

CAPEC-13: Subverting Environment Variable Values Subverting Environment Variable Values CAPEC-22: Exploiting Trust in Client Exploiting Trust in Client CAPEC-59: Session Credential Falsification through Prediction Session Credential Falsification through Prediction CAPEC-60: Reusing Session IDs (aka Session Replay) Reusing Session IDs (aka Session Replay) CAPEC-79: Using Slashes in Alternate Encoding Using Slashes in Alternate Encoding CAPEC-116: Excavation Excavation CAPEC-169: Footprinting Footprinting CAPEC-224: Fingerprinting Fingerprinting CAPEC-285: ICMP Echo Request Ping ICMP Echo Request Ping CAPEC-287: TCP SYN Scan TCP SYN Scan CAPEC-290: Enumerate Mail Exchange (MX) Records Enumerate Mail Exchange (MX) Records CAPEC-291: DNS Zone Transfers DNS Zone Transfers CAPEC-292: Host Discovery Host Discovery CAPEC-293: Traceroute Route Enumeration Traceroute Route Enumeration CAPEC-294: ICMP Address Mask Request ICMP Address Mask Request CAPEC-295: Timestamp Request Timestamp Request CAPEC-296: ICMP Information Request ICMP Information Request CAPEC-297: TCP ACK Ping TCP ACK Ping CAPEC-298: UDP Ping UDP Ping CAPEC-299: TCP SYN Ping TCP SYN Ping CAPEC-300: Port Scanning Port Scanning CAPEC-301: TCP Connect Scan TCP Connect Scan CAPEC-302: TCP FIN Scan TCP FIN Scan CAPEC-303: TCP Xmas Scan TCP Xmas Scan CAPEC-304: TCP Null Scan TCP Null Scan CAPEC-305: TCP ACK Scan TCP ACK Scan CAPEC-306: TCP Window Scan TCP Window Scan CAPEC-307: TCP RPC Scan TCP RPC Scan CAPEC-308: UDP Scan UDP Scan CAPEC-309: Network Topology Mapping Network Topology Mapping CAPEC-310: Scanning for Vulnerable Software Scanning for Vulnerable Software CAPEC-312: Active OS Fingerprinting Active OS Fingerprinting CAPEC-313: Passive OS Fingerprinting Passive OS Fingerprinting CAPEC-317: IP ID Sequencing Probe IP ID Sequencing Probe CAPEC-318: IP 'ID' Echoed Byte-Order Probe IP 'ID' Echoed Byte-Order Probe CAPEC-319: IP (DF) 'Don't Fragment Bit' Echoing Probe IP (DF) 'Don't Fragment Bit' Echoing Probe CAPEC-320: TCP Timestamp Probe TCP Timestamp Probe CAPEC-321: TCP Sequence Number Probe TCP Sequence Number Probe CAPEC-322: TCP (ISN) Greatest Common Divisor Probe TCP (ISN) Greatest Common Divisor Probe CAPEC-323: TCP (ISN) Counter Rate Probe TCP (ISN) Counter Rate Probe CAPEC-324: TCP (ISN) Sequence Predictability Probe TCP (ISN) Sequence Predictability Probe CAPEC-325: TCP Congestion Control Flag (ECN) Probe TCP Congestion Control Flag (ECN) Probe CAPEC-326: TCP Initial Window Size Probe TCP Initial Window Size Probe CAPEC-327: TCP Options Probe TCP Options Probe CAPEC-328: TCP 'RST' Flag Checksum Probe TCP 'RST' Flag Checksum Probe CAPEC-329: ICMP Error Message Quoting Probe ICMP Error Message Quoting Probe CAPEC-330: ICMP Error Message Echoing Integrity Probe ICMP Error Message Echoing Integrity Probe CAPEC-472: Browser Fingerprinting Browser Fingerprinting CAPEC-497: File Discovery File Discovery CAPEC-508: Shoulder Surfing Shoulder Surfing CAPEC-573: Process Footprinting Process Footprinting CAPEC-574: Services Footprinting Services Footprinting CAPEC-575: Account Footprinting Account Footprinting CAPEC-576: Group Permission Footprinting Group Permission Footprinting CAPEC-577: Owner Footprinting Owner Footprinting CAPEC-616: Establish Rogue Location Establish Rogue Location CAPEC-643: Identify Shared Files/Directories on System Identify Shared Files/Directories on System CAPEC-646: Peripheral Footprinting Peripheral Footprinting CAPEC-651: Eavesdropping Eavesdropping
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.72 }} 0.02%

score

0.78275

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability