CVE-2021-4314
JSON

5.3medium

It is possible to manipulate the JWT token without the knowledge of the JWT secret and authenticate without valid JWT token as any user.

Severity
5.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Zowe

Description

It is possible to manipulate the JWT token without the knowledge of the JWT secret and authenticate without valid JWT token as any user. This is happening only in the situation when zOSMF doesn’t have the APAR PH12143 applied. This issue affects: 1.16 versions to 1.19. What happens is that the services using the ZAAS client or the API ML API to query will be deceived into believing the information in the JWT token is valid when it isn’t. It’s possible to use this to persuade the southbound service that different user is authenticated.

Affected

Product or packageVersionsReported by
Open Mainframe Project Zowefrom 1.16.0 before 1.19.0CVE List
linuxfoundation zowe_api_mediation_layerfrom 1.16.0 before 1.19.0NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-269CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

It is possible to manipulate the JWT token without the knowledge of the JWT secret and authenticate without valid JWT token as any user. This is happening only in the situation when zOSMF doesn’t have the APAR PH12143 applied. This issue affects: 1.16 versions to 1.19. What happens is that the services using the ZAAS client or the API ML API to query will be deceived into believing the information in the JWT token is valid when it isn’t. It’s possible to use this to persuade the southbound service that different user is authenticated.

NVD (es)

Es posible manipular el token JWT sin conocer el secreto de JWT y autenticarse sin un token JWT válido como cualquier usuario. Esto sucede sólo en la situación en la que zOSMF no tiene aplicado el APAR PH12143. Este problema afecta: versiones 1.16 a 1.19. Lo que sucede es que los servicios que utilizan el cliente ZAAS o la API API ML para realizar consultas serán engañados haciéndoles creer que la información en el token JWT es válida cuando no lo es. Es posible utilizar esto para persuadir al servicio en dirección sur de que un usuario diferente está autenticado.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-4314 changed 2025-04-03CVE Terms of Use
NVDCVE-2021-4314 changed 2026-06-17Public domain