Datasets:
id stringlengths 113 290 | vul_id stringlengths 19 19 | label stringclasses 2
values | p_tp float64 0.5 0.75 | rule stringclasses 25
values | cwe stringclasses 11
values | path stringlengths 35 195 | file stringlengths 93 253 | line int64 24 14.3k | method stringlengths 0 40 | code_window stringlengths 316 20.5k | message stringclasses 27
values | severity stringclasses 2
values | changed_file bool 1
class | finding_cwes listlengths 1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GHSA-2jc4-r94c-rp7h:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/java/org/apache/ivy/ant/IvyReport.java:317 | GHSA-2jc4-r94c-rp7h | TP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-611 | src/java/org/apache/ivy/ant/IvyReport.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-2jc4-r94c-rp7h/src/java/org/apache/ivy/ant/IvyReport.java | 317 | genStyled | package org.apache.ivy.ant;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.text.ParseException;
import java.uti... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] |
GHSA-2jc4-r94c-rp7h:java.lang.security.audit.xxe.saxparserfactory-disallow-doctype-decl-missing.saxparserfactory-disallow-doctype-decl-missing:src/java/org/apache/ivy/util/XMLHelper.java:65 | GHSA-2jc4-r94c-rp7h | TP | 0.75 | java.lang.security.audit.xxe.saxparserfactory-disallow-doctype-decl-missing.saxparserfactory-disallow-doctype-decl-missing | CWE-611 | src/java/org/apache/ivy/util/XMLHelper.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-2jc4-r94c-rp7h/src/java/org/apache/ivy/util/XMLHelper.java | 65 | newSAXParser | package org.apache.ivy.util;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java... | DOCTYPE declarations are enabled for this SAXParserFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature `http://apache.org/xml/features/disallow-doctype-decl` to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be done ... | ERROR | true | [
"CWE-611"
] |
GHSA-2jc4-r94c-rp7h:java.lang.security.audit.xxe.saxparserfactory-disallow-doctype-decl-missing.saxparserfactory-disallow-doctype-decl-missing:src/java/org/apache/ivy/util/XMLHelper.java:76 | GHSA-2jc4-r94c-rp7h | TP | 0.75 | java.lang.security.audit.xxe.saxparserfactory-disallow-doctype-decl-missing.saxparserfactory-disallow-doctype-decl-missing | CWE-611 | src/java/org/apache/ivy/util/XMLHelper.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-2jc4-r94c-rp7h/src/java/org/apache/ivy/util/XMLHelper.java | 76 | newSAXParser | package org.apache.ivy.util;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java... | DOCTYPE declarations are enabled for this SAXParserFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature `http://apache.org/xml/features/disallow-doctype-decl` to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be done ... | ERROR | true | [
"CWE-611"
] |
GHSA-2jc4-r94c-rp7h:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/java/org/apache/ivy/util/XMLHelper.java:227 | GHSA-2jc4-r94c-rp7h | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/java/org/apache/ivy/util/XMLHelper.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-2jc4-r94c-rp7h/src/java/org/apache/ivy/util/XMLHelper.java | 227 | getDocBuilder | package org.apache.ivy.util;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3gm7-v7vw-866c:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImporter.java:205 | GHSA-3gm7-v7vw-866c | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-94 | solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImporter.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3gm7-v7vw-866c/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/DataImporter.java | 205 | loadDataConfig | package org.apache.solr.handler.dataimport;
import org.apache.solr.common.SolrException;
import org.apache.solr.core.SolrCore;
import org.apache.solr.schema.IndexSchema;
import org.apache.solr.util.SystemIdResolver;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.common.util.XMLErrorLogger;
import ... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3mcp-9wr4-cjqf:java.lang.security.audit.el-injection.el-injection:dropwizard-validation/src/main/java/io/dropwizard/validation/selfvalidating/ViolationCollector.java:24 | GHSA-3mcp-9wr4-cjqf | TP | 0.5 | java.lang.security.audit.el-injection.el-injection | CWE-74 | dropwizard-validation/src/main/java/io/dropwizard/validation/selfvalidating/ViolationCollector.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3mcp-9wr4-cjqf/dropwizard-validation/src/main/java/io/dropwizard/validation/selfvalidating/ViolationCollector.java | 24 | addViolation | package io.dropwizard.validation.selfvalidating;
import javax.validation.ConstraintValidatorContext;
public class ViolationCollector {
public void addViolation(String msg) {
violationOccurred = true;
context.buildConstraintViolationWithTemplate(msg)
.addConstraintViolation();
} | An expression is built with a dynamic value. The source of the value(s) should be verified to avoid that unfiltered values fall into this risky code evaluation. | WARNING | true | [
"CWE-94"
] |
GHSA-3ppr-72x5-x67q:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/hudson/plugins/mstest/MSTestReportConverter.java:116 | GHSA-3ppr-72x5-x67q | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/main/java/hudson/plugins/mstest/MSTestReportConverter.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3ppr-72x5-x67q/src/main/java/hudson/plugins/mstest/MSTestReportConverter.java | 116 | containsData | package hudson.plugins.mstest;
import hudson.model.TaskListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3ppr-72x5-x67q:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/hudson/plugins/mstest/MSTestReportConverter.java:151 | GHSA-3ppr-72x5-x67q | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/main/java/hudson/plugins/mstest/MSTestReportConverter.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3ppr-72x5-x67q/src/main/java/hudson/plugins/mstest/MSTestReportConverter.java | 151 | getDocumentBuilder | package hudson.plugins.mstest;
import hudson.model.TaskListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3ppr-72x5-x67q:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/main/java/hudson/plugins/mstest/XslTransformer.java:25 | GHSA-3ppr-72x5-x67q | TP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-611 | src/main/java/hudson/plugins/mstest/XslTransformer.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3ppr-72x5-x67q/src/main/java/hudson/plugins/mstest/XslTransformer.java | 25 | package hudson.plugins.mstest;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.T... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] | |
GHSA-3ppr-72x5-x67q:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/main/java/hudson/plugins/mstest/XslTransformer.java:31 | GHSA-3ppr-72x5-x67q | TP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-611 | src/main/java/hudson/plugins/mstest/XslTransformer.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3ppr-72x5-x67q/src/main/java/hudson/plugins/mstest/XslTransformer.java | 31 | package hudson.plugins.mstest;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.transform.T... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] | |
GHSA-3vrc-rrpw-r5pw:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java:134 | GHSA-3vrc-rrpw-r5pw | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3vrc-rrpw-r5pw/src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | 134 | createDocumentImpl | package com.jamesmurty.utils;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Map.Entry;
import java.util.Properties;
import javax.xml.namespace.NamespaceContext;
import javax.xml.namespace.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.Documen... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3vrc-rrpw-r5pw:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java:165 | GHSA-3vrc-rrpw-r5pw | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3vrc-rrpw-r5pw/src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | 165 | parseDocumentImpl | package com.jamesmurty.utils;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Map.Entry;
import java.util.Properties;
import javax.xml.namespace.NamespaceContext;
import javax.xml.namespace.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.Documen... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-3vrc-rrpw-r5pw:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java:1222 | GHSA-3vrc-rrpw-r5pw | FP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-611 | src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3vrc-rrpw-r5pw/src/main/java/com/jamesmurty/utils/BaseXMLBuilder.java | 1,222 | toWriter | package com.jamesmurty.utils;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.Map.Entry;
import java.util.Properties;
import javax.xml.namespace.NamespaceContext;
import javax.xml.namespace.QName;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.Documen... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] |
GHSA-3xrr-7m6p-p7xh:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java:144 | GHSA-3xrr-7m6p-p7xh | TP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-94 | src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3xrr-7m6p-p7xh/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | 144 | transform | package com.gargoylesoftware.htmlunit.javascript.host.xml;
import static com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_XSLT_TRANSFORM_INDENT;
import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME;
import static com.gargoylesoftware.htmlunit.javascript.configuration.Suppo... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] |
GHSA-3xrr-7m6p-p7xh:java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled:src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java:171 | GHSA-3xrr-7m6p-p7xh | TP | 0.75 | java.lang.security.audit.xxe.transformerfactory-dtds-not-disabled.transformerfactory-dtds-not-disabled | CWE-94 | src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3xrr-7m6p-p7xh/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | 171 | transform | package com.gargoylesoftware.htmlunit.javascript.host.xml;
import static com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_XSLT_TRANSFORM_INDENT;
import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME;
import static com.gargoylesoftware.htmlunit.javascript.configuration.Suppo... | DOCTYPE declarations are enabled for this TransformerFactory. This is vulnerable to XML external entity attacks. Disable this by setting the attributes "accessExternalDTD" and "accessExternalStylesheet" to "". | ERROR | true | [
"CWE-611"
] |
GHSA-3xrr-7m6p-p7xh:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java:177 | GHSA-3xrr-7m6p-p7xh | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-94 | src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-3xrr-7m6p-p7xh/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/xml/XSLTProcessor.java | 177 | transform | package com.gargoylesoftware.htmlunit.javascript.host.xml;
import static com.gargoylesoftware.htmlunit.BrowserVersionFeatures.JS_XSLT_TRANSFORM_INDENT;
import static com.gargoylesoftware.htmlunit.javascript.configuration.SupportedBrowser.CHROME;
import static com.gargoylesoftware.htmlunit.javascript.configuration.Suppo... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-4fq3-mr56-cg6r:java.spring.security.audit.spel-injection.spel-injection:src/main/java/org/springframework/data/web/MapDataBinder.java:172 | GHSA-4fq3-mr56-cg6r | FP | 0.5 | java.spring.security.audit.spel-injection.spel-injection | CWE-94 | src/main/java/org/springframework/data/web/MapDataBinder.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-4fq3-mr56-cg6r/src/main/java/org/springframework/data/web/MapDataBinder.java | 172 | package org.springframework.data.web;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import java.beans.PropertyDescriptor;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Nonnull;
import org.springframework.beans.AbstractPropertyAccessor;
import org.springfr... | A Spring expression is built with a dynamic value. The source of the value(s) should be verified to avoid that unfiltered values fall into this risky code evaluation. | WARNING | true | [
"CWE-94"
] | |
GHSA-4h5h-p23f-hjqf:java.lang.security.audit.formatted-sql-string.formatted-sql-string:tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java:139 | GHSA-4h5h-p23f-hjqf | FP | 0.75 | java.lang.security.audit.formatted-sql-string.formatted-sql-string | CWE-89 | tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-4h5h-p23f-hjqf/tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | 139 | createSchema | package org.folio.spring.tenant.hibernate;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import jav... | Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL statement are not properly sanitized. Use a prepared statements (java.sql.PreparedStatement) instead. You can obtain a PreparedStatement using 'connection.prepareStatement'. | ERROR | true | [
"CWE-89"
] |
GHSA-4h5h-p23f-hjqf:java.lang.security.audit.formatted-sql-string.formatted-sql-string:tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java:175 | GHSA-4h5h-p23f-hjqf | FP | 0.75 | java.lang.security.audit.formatted-sql-string.formatted-sql-string | CWE-89 | tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-4h5h-p23f-hjqf/tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | 175 | dropSchema | package org.folio.spring.tenant.hibernate;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import jav... | Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL statement are not properly sanitized. Use a prepared statements (java.sql.PreparedStatement) instead. You can obtain a PreparedStatement using 'connection.prepareStatement'. | ERROR | true | [
"CWE-89"
] |
GHSA-4h5h-p23f-hjqf:java.lang.security.audit.formatted-sql-string.formatted-sql-string:tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java:182 | GHSA-4h5h-p23f-hjqf | TP | 0.75 | java.lang.security.audit.formatted-sql-string.formatted-sql-string | CWE-89 | tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-4h5h-p23f-hjqf/tenant/src/main/java/org/folio/spring/tenant/hibernate/HibernateSchemaService.java | 182 | schemaExists | package org.folio.spring.tenant.hibernate;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import jav... | Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL statement are not properly sanitized. Use a prepared statements (java.sql.PreparedStatement) instead. You can obtain a PreparedStatement using 'connection.prepareStatement'. | ERROR | true | [
"CWE-89"
] |
GHSA-4hvc-qwr2-f8rv:java.lang.security.audit.object-deserialization.object-deserialization:redisson/src/main/java/org/redisson/codec/SerializationCodec.java:56 | GHSA-4hvc-qwr2-f8rv | TP | 0.5 | java.lang.security.audit.object-deserialization.object-deserialization | CWE-502 | redisson/src/main/java/org/redisson/codec/SerializationCodec.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-4hvc-qwr2-f8rv/redisson/src/main/java/org/redisson/codec/SerializationCodec.java | 56 | decode | package org.redisson.codec;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import org.redisson.client.codec.BaseCodec;
import org.redisson.client.handler.State;
import org.redisson.client.protocol.Decoder;
import org.redisson.client.protocol.Encoder;
import io.netty.buf... | Found object deserialization using ObjectInputStream. Deserializing entire Java objects is dangerous because malicious actors can create Java object streams with unintended consequences. Ensure that the objects being deserialized are not user-controlled. If this must be done, consider using HMACs to sign the data strea... | WARNING | true | [
"CWE-502"
] |
GHSA-5gwh-r76w-934h:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:src/main/java/com/qualys/plugins/wasPlugin/util/Helper.java:131 | GHSA-5gwh-r76w-934h | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | src/main/java/com/qualys/plugins/wasPlugin/util/Helper.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-5gwh-r76w-934h/src/main/java/com/qualys/plugins/wasPlugin/util/Helper.java | 131 | execXPath | package com.qualys.plugins.wasPlugin.util;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.StringReader;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.u... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-5w3j-gwgh-4rfv:java.lang.security.audit.formatted-sql-string.formatted-sql-string:h2o-core/src/main/java/water/jdbc/SQLManager.java:855 | GHSA-5w3j-gwgh-4rfv | FP | 0.75 | java.lang.security.audit.formatted-sql-string.formatted-sql-string | CWE-502 | h2o-core/src/main/java/water/jdbc/SQLManager.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-5w3j-gwgh-4rfv/h2o-core/src/main/java/water/jdbc/SQLManager.java | 855 | dropTempTable | package water.jdbc;
import water.*;
import water.fvec.*;
import water.parser.ParseDataset;
import water.util.Log;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.sql.*;
import java.util.Arrays;
import java.util.List;
import ja... | Detected a formatted string in a SQL statement. This could lead to SQL injection if variables in the SQL statement are not properly sanitized. Use a prepared statements (java.sql.PreparedStatement) instead. You can obtain a PreparedStatement using 'connection.prepareStatement'. | ERROR | true | [
"CWE-89"
] |
GHSA-6rmm-pg23-5f8q:java.spring.security.audit.spel-injection.spel-injection:dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/processor/DsSpelExpressionProcessor.java:78 | GHSA-6rmm-pg23-5f8q | FP | 0.5 | java.spring.security.audit.spel-injection.spel-injection | CWE-74 | dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/processor/DsSpelExpressionProcessor.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-6rmm-pg23-5f8q/dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/processor/DsSpelExpressionProcessor.java | 78 | package com.baomidou.dynamic.datasource.processor;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.context.expression.MethodBasedEvaluationContext;
import org.springframework.core.DefaultParameterNameDiscoverer;
import org.spring... | A Spring expression is built with a dynamic value. The source of the value(s) should be verified to avoid that unfiltered values fall into this risky code evaluation. | WARNING | true | [
"CWE-94"
] | |
GHSA-7c5v-895v-w4q5:java.lang.security.audit.object-deserialization.object-deserialization:modules/jooby-pac4j/src/main/java/io/jooby/internal/pac4j/SessionStoreImpl.java:131 | GHSA-7c5v-895v-w4q5 | TP | 0.5 | java.lang.security.audit.object-deserialization.object-deserialization | CWE-502 | modules/jooby-pac4j/src/main/java/io/jooby/internal/pac4j/SessionStoreImpl.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7c5v-895v-w4q5/modules/jooby-pac4j/src/main/java/io/jooby/internal/pac4j/SessionStoreImpl.java | 131 | if | package io.jooby.internal.pac4j;
import static io.jooby.StatusCode.BAD_REQUEST_CODE;
import static io.jooby.StatusCode.FORBIDDEN_CODE;
import static io.jooby.StatusCode.FOUND_CODE;
import static io.jooby.StatusCode.NO_CONTENT_CODE;
import static io.jooby.StatusCode.OK_CODE;
import static io.jooby.StatusCode.SEE_OTHER_C... | Found object deserialization using ObjectInputStream. Deserializing entire Java objects is dangerous because malicious actors can create Java object streams with unintended consequences. Ensure that the objects being deserialized are not user-controlled. If this must be done, consider using HMACs to sign the data strea... | WARNING | true | [
"CWE-502"
] |
GHSA-7gq2-vwq9-w8vw:java.lang.security.audit.url-rewriting.url-rewriting:appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java:101 | GHSA-7gq2-vwq9-w8vw | FP | 0.5 | java.lang.security.audit.url-rewriting.url-rewriting | CWE-601 | appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7gq2-vwq9-w8vw/appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | 101 | package org.apache.catalina.authenticator;
import static com.sun.logging.LogCleanerUtil.neutralizeForLog;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.WARNING;
import static org.apache.catalina.LogFacade.UNEXPECTED_ERROR_FORWARDING_TO_LOGIN_PAGE;
import static org.apache.catalina.au... | URL rewriting has significant security risks. Since session ID appears in the URL, it may be easily seen by third parties. | WARNING | true | [
"CWE-200"
] | |
GHSA-7gq2-vwq9-w8vw:java.lang.security.audit.cookie-missing-httponly.cookie-missing-httponly:appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java:333 | GHSA-7gq2-vwq9-w8vw | FP | 0.5 | java.lang.security.audit.cookie-missing-httponly.cookie-missing-httponly | CWE-601 | appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7gq2-vwq9-w8vw/appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | 333 | restoreRequest | package org.apache.catalina.authenticator;
import static com.sun.logging.LogCleanerUtil.neutralizeForLog;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.WARNING;
import static org.apache.catalina.LogFacade.UNEXPECTED_ERROR_FORWARDING_TO_LOGIN_PAGE;
import static org.apache.catalina.au... | A cookie was detected without setting the 'HttpOnly' flag. The 'HttpOnly' flag for cookies instructs the browser to forbid client-side scripts from reading the cookie. Set the 'HttpOnly' flag by calling 'cookie.setHttpOnly(true);' | WARNING | true | [
"CWE-1004"
] |
GHSA-7gq2-vwq9-w8vw:java.lang.security.audit.cookie-missing-secure-flag.cookie-missing-secure-flag:appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java:333 | GHSA-7gq2-vwq9-w8vw | FP | 0.5 | java.lang.security.audit.cookie-missing-secure-flag.cookie-missing-secure-flag | CWE-601 | appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7gq2-vwq9-w8vw/appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | 333 | restoreRequest | package org.apache.catalina.authenticator;
import static com.sun.logging.LogCleanerUtil.neutralizeForLog;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.WARNING;
import static org.apache.catalina.LogFacade.UNEXPECTED_ERROR_FORWARDING_TO_LOGIN_PAGE;
import static org.apache.catalina.au... | A cookie was detected without setting the 'secure' flag. The 'secure' flag for cookies prevents the client from transmitting the cookie over insecure channels such as HTTP. Set the 'secure' flag by calling 'cookies.next().setSecure(true);' | WARNING | true | [
"CWE-614"
] |
GHSA-7gq2-vwq9-w8vw:java.lang.security.audit.cookie-missing-httponly.cookie-missing-httponly:appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java:467 | GHSA-7gq2-vwq9-w8vw | FP | 0.5 | java.lang.security.audit.cookie-missing-httponly.cookie-missing-httponly | CWE-601 | appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7gq2-vwq9-w8vw/appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | 467 | saveRequest | package org.apache.catalina.authenticator;
import static com.sun.logging.LogCleanerUtil.neutralizeForLog;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.WARNING;
import static org.apache.catalina.LogFacade.UNEXPECTED_ERROR_FORWARDING_TO_LOGIN_PAGE;
import static org.apache.catalina.au... | A cookie was detected without setting the 'HttpOnly' flag. The 'HttpOnly' flag for cookies instructs the browser to forbid client-side scripts from reading the cookie. Set the 'HttpOnly' flag by calling 'cookie.setHttpOnly(true);' | WARNING | true | [
"CWE-1004"
] |
GHSA-7gq2-vwq9-w8vw:java.lang.security.audit.cookie-missing-secure-flag.cookie-missing-secure-flag:appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java:467 | GHSA-7gq2-vwq9-w8vw | FP | 0.5 | java.lang.security.audit.cookie-missing-secure-flag.cookie-missing-secure-flag | CWE-601 | appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7gq2-vwq9-w8vw/appserver/web/web-core/src/main/java/org/apache/catalina/authenticator/FormAuthenticator.java | 467 | saveRequest | package org.apache.catalina.authenticator;
import static com.sun.logging.LogCleanerUtil.neutralizeForLog;
import static java.util.logging.Level.FINE;
import static java.util.logging.Level.WARNING;
import static org.apache.catalina.LogFacade.UNEXPECTED_ERROR_FORWARDING_TO_LOGIN_PAGE;
import static org.apache.catalina.au... | A cookie was detected without setting the 'secure' flag. The 'secure' flag for cookies prevents the client from transmitting the cookie over insecure channels such as HTTP. Set the 'secure' flag by calling 'element.setSecure(true);' | WARNING | true | [
"CWE-614"
] |
GHSA-7v6m-28jr-rg84:java.lang.security.audit.el-injection.el-injection:engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java:31 | GHSA-7v6m-28jr-rg84 | TP | 0.5 | java.lang.security.audit.el-injection.el-injection | CWE-94 | engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-7v6m-28jr-rg84/engine/src/main/java/org/hibernate/validator/internal/engine/messageinterpolation/ElTermResolver.java | 31 | package org.hibernate.validator.internal.engine.messageinterpolation;
import java.lang.invoke.MethodHandles;
import java.util.Locale;
import java.util.Map;
import jakarta.el.ELException;
import jakarta.el.ExpressionFactory;
import jakarta.el.PropertyNotFoundException;
import jakarta.el.ValueExpression;
import jakarta.v... | An expression is built with a dynamic value. The source of the value(s) should be verified to avoid that unfiltered values fall into this risky code evaluation. | WARNING | true | [
"CWE-94"
] | |
GHSA-8c3x-hq82-gjcm:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/Publisher.java:14317 | GHSA-8c3x-hq82-gjcm | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/Publisher.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8c3x-hq82-gjcm/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/Publisher.java | 14,317 | loadMappingSpaces | package org.hl7.fhir.igtools.publisher;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputSt... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-8c3x-hq82-gjcm:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/PackageReleaser.java:844 | GHSA-8c3x-hq82-gjcm | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/PackageReleaser.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8c3x-hq82-gjcm/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/PackageReleaser.java | 844 | loadXml | package org.hl7.fhir.igtools.publisher.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import j... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-8c3x-hq82-gjcm:java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing:org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/TemplateReleaser.java:605 | GHSA-8c3x-hq82-gjcm | TP | 0.75 | java.lang.security.audit.xxe.documentbuilderfactory-disallow-doctype-decl-missing.documentbuilderfactory-disallow-doctype-decl-missing | CWE-611 | org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/TemplateReleaser.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8c3x-hq82-gjcm/org.hl7.fhir.publisher.core/src/main/java/org/hl7/fhir/igtools/publisher/utils/TemplateReleaser.java | 605 | loadXml | package org.hl7.fhir.igtools.publisher.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import j... | DOCTYPE declarations are enabled for this DocumentBuilderFactory. This is vulnerable to XML external entity attacks. Disable this by setting the feature "http://apache.org/xml/features/disallow-doctype-decl" to true. Alternatively, allow DOCTYPE declarations and only prohibit external entities declarations. This can be... | ERROR | true | [
"CWE-611"
] |
GHSA-8gqp-hr9g-pg62:java.lang.security.audit.script-engine-injection.script-engine-injection:conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java:102 | GHSA-8gqp-hr9g-pg62 | TP | 0.5 | java.lang.security.audit.script-engine-injection.script-engine-injection | CWE-78 | conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8gqp-hr9g-pg62/conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java | 102 | validate | package com.netflix.conductor.sdk.workflow.def.tasks;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import javax.script.Bindings;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import org.slf4j.Log... | Detected potential code injection using ScriptEngine. Ensure user-controlled data cannot enter '.eval()', otherwise, this is a code injection vulnerability. | WARNING | true | [
"CWE-94"
] |
GHSA-8gqp-hr9g-pg62:java.lang.security.audit.script-engine-injection.script-engine-injection:conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java:129 | GHSA-8gqp-hr9g-pg62 | TP | 0.5 | java.lang.security.audit.script-engine-injection.script-engine-injection | CWE-78 | conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8gqp-hr9g-pg62/conductor-clients/java/conductor-java-sdk/sdk/src/main/java/com/netflix/conductor/sdk/workflow/def/tasks/Javascript.java | 129 | test | package com.netflix.conductor.sdk.workflow.def.tasks;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import javax.script.Bindings;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import org.slf4j.Log... | Detected potential code injection using ScriptEngine. Ensure user-controlled data cannot enter '.eval()', otherwise, this is a code injection vulnerability. | WARNING | true | [
"CWE-94"
] |
GHSA-8gqp-hr9g-pg62:java.lang.security.audit.script-engine-injection.script-engine-injection:core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java:50 | GHSA-8gqp-hr9g-pg62 | FP | 0.5 | java.lang.security.audit.script-engine-injection.script-engine-injection | CWE-78 | core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8gqp-hr9g-pg62/core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java | 50 | eval | package com.netflix.conductor.core.events;
import javax.script.Bindings;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
import javax.script.ScriptException;
import org.openjdk.nashorn.api.scripting.NashornScriptEngineFactory;
public class ScriptEvaluator {
public static Object eval(Str... | Detected potential code injection using ScriptEngine. Ensure user-controlled data cannot enter '.eval()', otherwise, this is a code injection vulnerability. | WARNING | true | [
"CWE-94"
] |
GHSA-8h4x-xvjp-vf99:java.lang.security.audit.crypto.unencrypted-socket.unencrypted-socket:hazelcast/src/main/java/com/hazelcast/security/impl/function/SecuredFunctions.java:350 | GHSA-8h4x-xvjp-vf99 | FP | 0.5 | java.lang.security.audit.crypto.unencrypted-socket.unencrypted-socket | CWE-89 | hazelcast/src/main/java/com/hazelcast/security/impl/function/SecuredFunctions.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-8h4x-xvjp-vf99/hazelcast/src/main/java/com/hazelcast/security/impl/function/SecuredFunctions.java | 350 | applyEx | package com.hazelcast.security.impl.function;
import com.hazelcast.cache.EventJournalCacheEvent;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.dataconnection.impl.JdbcDataConnection;
import com.hazelcast.function.BiFunctionEx;
import com.hazelcast.function.FunctionEx;
import com.hazelcast.function.S... | Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. | WARNING | true | [
"CWE-319"
] |
GHSA-9xc6-c2rm-f27p:java.lang.security.audit.bad-hexa-conversion.bad-hexa-conversion:xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java:8775 | GHSA-9xc6-c2rm-f27p | FP | 0.5 | java.lang.security.audit.bad-hexa-conversion.bad-hexa-conversion | CWE-94 | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-9xc6-c2rm-f27p/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java | 8,775 | getVersionHashCode | package com.xpn.xwiki.doc;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StringWriter;
import java.lang.ref.SoftReference;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
impo... | 'Integer.toHexString()' strips leading zeroes from each byte if read byte-by-byte. This mistake weakens the hash value computed since it introduces more collisions. Use 'String.format("%02X", ...)' instead. | WARNING | true | [
"CWE-704"
] |
GHSA-9xc6-c2rm-f27p:java.lang.security.audit.crypto.use-of-md5.use-of-md5:xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java:8780 | GHSA-9xc6-c2rm-f27p | FP | 0.5 | java.lang.security.audit.crypto.use-of-md5.use-of-md5 | CWE-94 | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-9xc6-c2rm-f27p/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java | 8,780 | getVersionHashCode | package com.xpn.xwiki.doc;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StringWriter;
import java.lang.ref.SoftReference;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.lang.reflect.Type;
impo... | Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use HMAC instead. | WARNING | true | [
"CWE-328"
] |
GHSA-47qw-ccjm-9c2c:java.lang.security.audit.crypto.unencrypted-socket.unencrypted-socket:local-s3-rest/src/main/java/com/robothy/s3/rest/LocalS3.java:316 | GHSA-47qw-ccjm-9c2c | FP | 0.5 | java.lang.security.audit.crypto.unencrypted-socket.unencrypted-socket | CWE-611 | local-s3-rest/src/main/java/com/robothy/s3/rest/LocalS3.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-47qw-ccjm-9c2c/local-s3-rest/src/main/java/com/robothy/s3/rest/LocalS3.java | 316 | findFreeTcpPort | package com.robothy.s3.rest;
import com.ctc.wstx.stax.WstxInputFactory;
import com.ctc.wstx.stax.WstxOutputFactory;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.dataformat.xml.XmlFactory;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
import com.fasterxml.jackson.da... | Detected use of a Java socket that is not encrypted. As a result, the traffic could be read by an attacker intercepting the network traffic. Use an SSLSocket created by 'SSLSocketFactory' or 'SSLServerSocketFactory' instead. | WARNING | true | [
"CWE-319"
] |
GHSA-54wc-49qj-5ghj:java.lang.security.audit.crypto.use-of-md5.use-of-md5:src/main/java/net/mingsoft/cms/action/BaseAction.java:157 | GHSA-54wc-49qj-5ghj | TP | 0.5 | java.lang.security.audit.crypto.use-of-md5.use-of-md5 | CWE-89 | src/main/java/net/mingsoft/cms/action/BaseAction.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-54wc-49qj-5ghj/src/main/java/net/mingsoft/cms/action/BaseAction.java | 157 | exec | package net.mingsoft.cms.action;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.io.file.FileNameUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import com.baidu.ueditor.define.BaseState;
import com.baidu.ueditor.... | Detected MD5 hash algorithm which is considered insecure. MD5 is not collision resistant and is therefore not suitable as a cryptographic signature. Use HMAC instead. | WARNING | true | [
"CWE-328"
] |
GHSA-65hj-9ppw-77xc:java.lang.security.audit.crlf-injection-logs.crlf-injection-logs:ff4j-web/src/main/java/org/ff4j/web/embedded/ConsoleOperations.java:87 | GHSA-65hj-9ppw-77xc | TP | 0.5 | java.lang.security.audit.crlf-injection-logs.crlf-injection-logs | CWE-94 | ff4j-web/src/main/java/org/ff4j/web/embedded/ConsoleOperations.java | /home/ubuntu/work/ghsa-scan-checkouts/GHSA-65hj-9ppw-77xc/ff4j-web/src/main/java/org/ff4j/web/embedded/ConsoleOperations.java | 87 | createFeature | package org.ff4j.web.embedded;
import static org.ff4j.web.embedded.ConsoleConstants.CONTENT_TYPE_PROPERTIES;
import static org.ff4j.web.embedded.ConsoleConstants.CONTENT_TYPE_XML;
import static org.ff4j.web.embedded.ConsoleConstants.CONTENT_TYPE_YAML;
import static org.ff4j.web.embedded.ConsoleConstants.DESCRIPTION;
im... | When data from an untrusted source is put into a logger and not neutralized correctly, an attacker could forge log entries or include malicious content. | WARNING | true | [
"CWE-93"
] |
TriageMate Java scan labels
Java static-analysis alerts from Vul4J entries and GitHub advisory fix commits, with a binary TP/FP label.
vul4j-labeled.jsonl is the earlier 66-row full-repository scan.
vul4j-scan-labeled.jsonl is the current 14-row changed-file scan.
ghsa-scan-labeled.jsonl is a 174-row set from GitHub advisory fix commits, used as a second real-world check.
Each row carries the entry ID, rule, CWE, file, line, code window, and the Semgrep severity score used as the no-model baseline.
Label rule
A finding is a true positive when its reported line overlaps a line changed by the fix, including two lines of context, or falls inside a method the fix changes. The labels are a location proxy, not proof that the finding is the exact CVE.
Current result
The changed-file set has 14 findings across 10 entries: 5 location-proxy true positives and 9 false positives. It covers every Vul4J entry with a usable patch commit: 126 of 127 checked out and scanned, with test sources excluded. The Semgrep severity baseline reaches ROC-AUC 0.5778 and precision at 90% recall 0.3571. LiquidAI d1-3B reaches ROC-AUC 0.8000 and precision at 90% recall 0.5556, a gain of 0.2222 AUC. Kev-4B reaches ROC-AUC 0.6667 and precision at 90% recall 0.4545, a gain of 0.0889 AUC.
The d1 gain survives leave-one-entry-out (never below 0.1250) and the row bootstrap (P(delta <= 0) is 0.094). Kev-4B flips negative when VUL4J-65, VUL4J-83-S or VUL4J-107-S is dropped, and its Vul4J row bootstrap puts P(delta <= 0) at 0.35.
With five positives the ranking claim is still small-sample. Labels are based on overlap with fix hunks or methods and are not human confirmation of vulnerability identity. The earlier 46-row set mixed full-repository and changed-file scans, so 36 of its rows were findings in files the fix never touched; its numbers are superseded.
Second set
ghsa-scan-labeled.jsonl is 174 findings from 68 fix commits in Maven packages, sampled from the OSV advisory export across 12 CWE families and 314 repositories.
The scan and label code is the same as Vul4J: changed Java files only, test sources excluded, positive when the finding overlaps a fix hunk or a changed method.
| Scorer | n | ROC-AUC | Precision at 90% recall |
|---|---|---|---|
| Semgrep severity heuristic | 174 | 0.5886 | 0.4885 |
| LiquidAI d1-3B | 174 | 0.6941 | 0.4847 |
| LiquidAI d1-3B + criteria | 174 | 0.7028 | 0.5132 |
| Kev-4B | 174 | 0.7521 | 0.6063 |
d1 gains +0.1054 ROC-AUC but loses 0.0038 precision at 90% recall on the stored labels, so the gate fails there and d1 is not promoted. The heuristic has only two scores: 90% recall needs 77 positives, only 59 sit at 0.75, so the cut moves to 0.5 and accepts every row. Precision there is 85/174 = 0.4885, the heuristic's overall precision. Ties are accepted whole, so row order cannot change it. An entry-level bootstrap puts the d1 AUC gain at -0.0952 to +0.3232 with P(delta <= 0) of 0.1855.
Adding the cookbook's true/false criteria fixes that gate failure: AUC 0.7028 and P@90R 0.5132, both above the heuristic.
The gain is rule-level calibration: weighted within-rule AUC is 0.474, still below 0.5.
The verdict is label-dependent. Of the 85 stored positives, 44 sit on a changed hunk line and 41 sit only inside a touched method. Under a hunk-only rule (44 TP), a CWE-consistent rule (53 TP), or both (28 TP), d1 passes the same gate, with AUC from 0.667 to 0.837. Only the strictest definition keeps d1's entry-bootstrap gain above zero.
Kev-4B passes this gate on the stored labels, but its Vul4J interval includes zero, so no scorer replaces the heuristic default.
On the stored labels a metadata lookup matches or beats both models. Out-of-fold logistic regression on rule name alone reaches 0.767 AUC, and rule plus file name reaches 0.786 entry-grouped and 0.799 repo-grouped, against d1's 0.694 and Kev's 0.752. Under the hunk-only label the same baseline falls to 0.461 entry-grouped and 0.587 repo-grouped, below d1's 0.667, so the loose label is what metadata explains. A swap-window control finds no code-reading advantage either: replacing each row's code window with another row's moves within-rule AUC from 0.474 to 0.590 after a global swap and 0.444 after a within-rule swap, and every AUC difference interval includes zero.
- Downloads last month
- 152