4.6
MEDIUM
CVE-2003-0358
Nethack Buffer Overflow Privilege Escalation
Description

Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.

INFO

Published Date :

June 9, 2003, 4 a.m.

Last Modified :

Dec. 9, 2020, 3:15 p.m.

Remotely Exploitable :

No

Impact Score :

6.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2003-0358 has a 3 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-2003-0358 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 Debian debian_linux
1 Nethack nethack
1 Falconseye_project falconseye
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2003-0358.

URL Resource
http://nethack.sourceforge.net/v340/bugmore/secpatch.txt Patch Third Party Advisory
http://www.debian.org/security/2003/dsa-316 Third Party Advisory
http://www.debian.org/security/2003/dsa-350 Third Party Advisory
http://www.securityfocus.com/archive/1/311172/2003-02-08/2003-02-14/0 Exploit Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/6806 Third Party Advisory VDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/11283 Third Party Advisory VDB Entry

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).

By passing an overly large string when invoking nethack, it is possible to corrupt memory. jnethack and falconseye are also prone to this vulnerability.

Perl C

Updated: 8 months, 3 weeks ago
0 stars 1 fork 1 watcher
Born at : Nov. 22, 2023, 1:35 a.m. This repo has been linked 1 different CVEs too.

By passing an overly large string when invoking nethack, it is possible to corrupt memory. jnethack and falconseye are also prone to this vulnerability.

Perl C

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 17, 2022, 1:11 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 27, 2022, 8:34 p.m. This repo has been linked 1 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-2003-0358 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2003-0358 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
  • Modified Analysis by [email protected]

    Dec. 09, 2020

    Action Type Old Value New Value
    Changed Reference Type http://nethack.sourceforge.net/v340/bugmore/secpatch.txt No Types Assigned http://nethack.sourceforge.net/v340/bugmore/secpatch.txt Patch, Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2003/dsa-316 No Types Assigned http://www.debian.org/security/2003/dsa-316 Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2003/dsa-350 No Types Assigned http://www.debian.org/security/2003/dsa-350 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/archive/1/311172/2003-02-08/2003-02-14/0 Exploit http://www.securityfocus.com/archive/1/311172/2003-02-08/2003-02-14/0 Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.securityfocus.com/bid/6806 No Types Assigned http://www.securityfocus.com/bid/6806 Third Party Advisory, VDB Entry
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/11283 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/11283 Third Party Advisory, VDB Entry
    Removed CWE NIST NVD-CWE-Other
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:falconseye_project:falconseye:*:*:*:*:*:*:*:* versions up to (including) 1.9.3 *cpe:2.3:a:nethack:nethack:*:*:*:*:*:*:*:* versions up to (including) 3.4.0
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:2.2:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:3.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/11283 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/11283 [No Types Assigned]
  • Initial Analysis by [email protected]

    Jan. 01, 2004

    Action Type Old Value New Value
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-2003-0358 is associated with the following CWEs:

Exploit Prediction

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

0.04 }} -0.00%

score

0.00490

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability