Gnulib time_rz.c save_abbr TZ memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

A vulnerability was found in Gnulib. It has been declared as critical. This affects the function save_abbr of the file time_rz.c. The manipulation of the argument TZ as part of Environment Variable results in memory corruption. This vulnerability is identified as CVE-2017-7476. The attack can be executed remotely. There is not any exploit available. It is best practice to apply a patch to resolve this issue.

Detailsinfo

A vulnerability was found in Gnulib (version now known). It has been classified as critical. Affected is the function save_abbr of the file time_rz.c. The manipulation of the argument TZ as part of a Environment Variable leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Gnulib before 2017-04-26 has a heap-based buffer overflow with the TZ environment variable. The error is in the save_abbr function in time_rz.c.

The bug was discovered 04/24/2017. The weakness was released 05/02/2017 as confirmed git commit (GIT Repository). The advisory is available at git.savannah.gnu.org. This vulnerability is traded as CVE-2017-7476 since 04/05/2017. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 101702 (Fedora 26 : coreutils (2017-b17d54561b)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.savannah.gnu.org. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (101702) and SecurityFocus (BID 98098†). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 101702
Nessus Name: Fedora 26 : coreutils (2017-b17d54561b)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 94e01571507835ff59dd8ce2a0b56a4b566965a4

Timelineinfo

04/05/2017 🔍
04/24/2017 +19 days 🔍
04/24/2017 +0 days 🔍
04/26/2017 +2 days 🔍
05/02/2017 +6 days 🔍
05/02/2017 +0 days 🔍
05/02/2017 +0 days 🔍
07/17/2017 +76 days 🔍
12/02/2022 +1964 days 🔍

Sourcesinfo

Advisory: FEDORA-2017-b17d54561b
Researcher: Pádraig Brady
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-7476 (🔍)
GCVE (CVE): GCVE-0-2017-7476
GCVE (VulDB): GCVE-100-100806
SecurityFocus: 98098 - Gnulib CVE-2017-7476 Local Heap Overflow Vulnerability
OSVDB: - CVE-2017-7476 - Gnulib - Buffer Overflow Issue

Entryinfo

Created: 05/02/2017 22:36
Updated: 12/02/2022 18:01
Changes: 05/02/2017 22:36 (70), 09/23/2020 07:52 (5), 12/22/2020 10:55 (2), 12/02/2022 17:53 (3), 12/02/2022 18:01 (1)
Complete: 🔍
Cache ID: 216:112:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!