Log data manipulation in Gin



Published: 2023-03-03
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-36567
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Gin
Web applications / CMS

Vendor Gin-Gonic

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU72755

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-36567

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to manipulate information in the log files.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can inject arbitrary log lines.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Gin: 0.1 - 1.5.0

External links

http://pkg.go.dev/vuln/GO-2020-0001
http://github.com/gin-gonic/gin/commit/a71af9c144f9579f6dbe945341c1df37aaf09c0d
http://github.com/gin-gonic/gin/pull/2237


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###