Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-4065: Merge pull request #2806 from BulkSecurityGeneratorProjectV2/fix/JLL/… · cbeust/testng@9150736

A vulnerability was found in cbeust testng. It has been declared as critical. Affected by this vulnerability is the function testngXmlExistsInJar of the file testng-core/src/main/java/org/testng/JarFileUtils.java of the component XML File Parser. The manipulation leads to path traversal. The attack can be launched remotely. The name of the patch is 9150736cd2c123a6a3b60e6193630859f9f0422b. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-214027.

CVE
#vulnerability#java

@@ -76,6 +76,9 @@ private boolean testngXmlExistsInJar(File jarFile, List<String> classes) throws

if (Parser.canParse(jeName.toLowerCase())) {

InputStream inputStream = jf.getInputStream(je);

File copyFile = new File(file, jeName);

if (!copyFile.toPath().normalize().startsWith(file.toPath().normalize())) {

throw new IOException(“Bad zip entry”);

}

copyFile.getParentFile().mkdirs();

Files.copy(inputStream, copyFile.toPath());

if (matchesXmlPathInJar(je)) {

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda