CVE-2022-31054 Argo Events is an automation framework for Kubernetes that uses `ioutil.ReadAll()` before version 1.7.1.

CVE-2022-31054 Argo Events is an automation framework for Kubernetes that uses `ioutil.ReadAll()` before version 1.7.1.

The following versions have been reported to be vulnerable: 1.7.0

1.7.1 To check if your application is vulnerable, open the server's log file and search for the string `ioutil.ReadAll()` to determine if the application is vulnerable. If it is, upgrade the application to 1.7.1 to fix this vulnerability. To upgrade your application, follow the instructions in the release notes for your application.

Vulnerable code example code

The following code is vulnerable and could result in a SQL injection if not fixed.
var sql = "SELECT * FROM Products WHERE Id >= ?";
var products = db.ExecuteReader(sql);

What is Apache TomEE?

Apache TomEE is a Java EE web application server developed by the Apache Software Foundation. It was released on May 29th, 2013.
TomEE includes an embedded OpenJDK and enables developers to develop Java EE 6 applications quickly with minimal overhead.

Vulnerable versions

Vulnerable versions are listed below, along with the release notes for each version:

1.7.0:  `ioutil.ReadAll()` Vulnerability
Release Notes:  "Added a method to allow users to disable the triggering of auth requests in order to fix an issue with some web framework applications not handling authentication."

References

Subscribe to CVE.news
Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe