#VU89618 Incorrect permission assignment for critical resource in swagger-codegen - CVE-2021-21364


Vulnerability identifier: #VU89618

Vulnerability risk: Low

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-21364

CWE-ID: CWE-732

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
swagger-codegen
Other software / Other software solutions

Vendor: Swagger

Description

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to the system temporary directory is shared between all local users. A local user can gain unauthorized access to sensitive information on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

swagger-codegen: before 2.4.19


External links
https://github.com/swagger-api/swagger-codegen/security/advisories/GHSA-hpv8-9rq5-hq7w
https://github.com/swagger-api/swagger-codegen/commit/35adbd552d5f99b3ff1e0e59da228becc85190f2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability