GNU Ed up to 1.14.0 Command regex.c use after free

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.
6.1$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in GNU Ed up to 1.14.0. This affects an unknown function of the file regex.c of the component Command Handler. The manipulation leads to use after free. This vulnerability is documented as CVE-2017-5357. The attack can be initiated remotely. There is not any exploit available. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in GNU Ed up to 1.14.0 and classified as problematic. This issue affects some unknown processing of the file regex.c of the component Command Handler. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is availability. The summary by CVE is:

regex.c in GNU ed before 1.14.1 allows attackers to cause a denial of service (crash) via a malformed command, which triggers an invalid free.

The bug was discovered 02/16/2017. The weakness was released 02/17/2017 (Website). The advisory is shared at lists.gnu.org. The identification of this vulnerability is CVE-2017-5357 since 01/12/2017. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 96682 (Fedora 25 : ed (2017-f87674ad41)), 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. The commercial vulnerability scanner Qualys is able to test this issue with plugin 172191 (SUSE Enterprise Linux Security Update for ed (SUSE-SU-2019:14005-1)).

Upgrading to version 1.14.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (96682) and SecurityFocus (BID 95422†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / 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: 96682
Nessus Name: Fedora 25 : ed (2017-f87674ad41)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for ed FEDORA-2017-f87674ad41
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ed 1.14.1

Timelineinfo

01/12/2017 🔍
01/12/2017 +0 days 🔍
01/20/2017 +8 days 🔍
01/23/2017 +3 days 🔍
02/16/2017 +24 days 🔍
02/16/2017 +0 days 🔍
02/17/2017 +1 days 🔍
02/17/2017 +0 days 🔍
08/15/2020 +1275 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: lists.gnu.org
Status: Not defined

CVE: CVE-2017-5357 (🔍)
GCVE (CVE): GCVE-0-2017-5357
GCVE (VulDB): GCVE-100-97061
SecurityFocus: 95422 - GNU ed CVE-2017-5357 Denial of Service Vulnerability
OSVDB: - CVE-2017-5357 - GNU ed - Denial of Service Issue

Entryinfo

Created: 02/17/2017 11:46
Updated: 08/15/2020 13:07
Changes: 02/17/2017 11:46 (75), 08/15/2020 13:07 (3)
Complete: 🔍
Cache ID: 216:785:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!