Description
Nepxion Discovery is a solution for Spring Cloud. Discover is vulnerable to SpEL Injection in discovery-commons. DiscoveryExpressionResolver’s eval method is evaluating expression with a StandardEvaluationContext, allowing the expression to reach and interact with Java classes such as java.lang.Runtime, leading to Remote Code Execution. There is no patch available for this issue at time of publication. There are no known workarounds.
Remediation
References
https://securitylab.github.com/advisories/GHSL-2022-033_GHSL-2022-034_Discovery/
Related Vulnerabilities
CVE-2022-29256 Vulnerability in npm package sharp
CVE-2019-19899 Vulnerability in maven package com.mitchellbosecke:pebble
CVE-2018-20595 Vulnerability in maven package org.hswebframework.web:hsweb-system-oauth2-client-web
CVE-2022-24197 Vulnerability in maven package com.itextpdf:itext7-core
CVE-2020-28442 Vulnerability in maven package org.webjars.bower:js-data