CVE-2023-1570

syoyo tinydng tiny_dng_loader.h __interceptor_memcpy heap-based overflow

3.3 low EPSS 0.39%

Published 22 Mar 2023 Updated 2 Aug 2024 CNA: VulDB

Check your servers for CVE-2023-1570

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-1570 affects tinydng, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

A vulnerability, which was classified as problematic, has been found in syoyo tinydng. Affected by this issue is the function __interceptor_memcpy of the file tiny_dng_loader.h. The manipulation leads to heap-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. It is recommended to apply a patch to fix this issue. VDB-223562 is the identifier assigned to this vulnerability.

Severity (CVSS)

3.3 low CVSS 3.1 from VulDB (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
3.3 low CVSS 3.0 from VulDB (CNA)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
1.7 low CVSS 2.0 from VulDB (CNA)
AV:L/AC:L/Au:S/C:N/I:N/A:P
Attack vector
local: the attacker needs local access
Attack complexity
low
Authentication
single: the attacker has to log in once
Impact
confidentiality none, integrity none, availability partial

Exploitation

EPSS 0.39%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 35.1% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

Affected products

As the CNA lists them.

ProductVersions
tinydng
affected all versions

Is my server affected?

Find the installed version of tinydng and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i tinydng
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-1570 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-1570

RHEL, Rocky, Alma, Fedora

rpm -q tinydng
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-1570

Alpine

apk list --installed | grep -i tinydng

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-1570
trivy image --scanners vuln IMAGE | grep CVE-2023-1570

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Exploits and proof of concept

Other references

Source: the record CVE-2023-1570 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.