Dataset Viewer
Auto-converted to Parquet Duplicate
added_lines_file
list
advisory_id
string
after_code
string
after_sha256
string
after_start_line
int64
aliases
list
before_code
string
before_sha256
string
before_start_line
int64
cleaning_version
string
commit_sha
string
commit_url
string
confidence
float64
confidence_band
string
confidence_reasons
list
cvss_score
float64
cwe_ids
list
dedup_hash
string
deleted_lines_file
list
extraction_parser
string
label_level
int64
label_name
string
language
string
new_path
string
old_path
string
parent_sha
string
patched_lines_unit
list
quality_profile
string
repo_url
string
sample_id
string
sample_role
string
split
string
unified_diff
string
unit_kind
string
unit_name
string
vul
int64
vulnerable_lines_unit
list
[ 252, 253 ]
GHSA-35jj-wx47-4w8r
def generate_pdf(document, target, zoom, **options): # 0.75 = 72 PDF point per inch / 96 CSS pixel per inch scale = zoom * 0.75 PROGRESS_LOGGER.info('Step 6 - Creating PDF') # Set properties according to PDF variants mark = False variant, version = options['pdf_variant'], options['pdf_version'...
c5e5ea533bb95345e2e471638b126cd18ef1c466f7e5277699994da5941612ad
110
[ "CVE-2024-28184", "PYSEC-2026-2033" ]
def generate_pdf(document, target, zoom, **options): # 0.75 = 72 PDF point per inch / 96 CSS pixel per inch scale = zoom * 0.75 PROGRESS_LOGGER.info('Step 6 - Creating PDF') # Set properties according to PDF variants mark = False variant, version = options['pdf_variant'], options['pdf_version'...
6417d0c310419491df278d8fe30067f0a555094907fdd611be1577a6e5758b95
110
vulmine-clean-v1.2
734ee8e2dc84ff3090682f3abff056d0907c8598
https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-829" ]
4755c697750223d16c4445d7cd4fe1724cc28f909aa6876da429ddca19e3598b
[ 252 ]
tree-sitter
1
patch-touched-candidate
python
weasyprint/pdf/__init__.py
weasyprint/pdf/__init__.py
4b28713ee47d98be969c5383bf15e6e53c4efd66
[ 143, 144 ]
strict
https://github.com/Kozea/WeasyPrint.git
00000719c588d294f29e844f84ca2b13e54a2fb43879d08cef7cea39fee1c0b0
patch-touched-candidate
train
--- a/weasyprint/pdf/__init__.py +++ b/weasyprint/pdf/__init__.py @@ -249,7 +249,8 @@ if options['attachments']: for attachment in options['attachments']: if not isinstance(attachment, Attachment): - attachment = Attachment(attachment) + attachment = Attachment( ...
function
generate_pdf
1
[ 143 ]
[ 43, 58 ]
GHSA-389x-839f-4rhx
@Override public int read(byte[] buf, int off, int len) throws IOException { checkMaxBytesRead(); // Calculate the maximum number of bytes that we should try to read. int num = Math.min(len, maxBytesRead - numRead + 1); int b = super.read(buf, off, num); if (b != -1) {...
489110d20643279be60f13ae37f62e8b9b8e3aa8e0c4319df508911fb96a4838
49
[ "CVE-2025-25193" ]
@Override public int read(byte[] buf, int off, int len) throws IOException { checkMaxBytesRead(); // Calculate the maximum number of bytes that we should try to read. int num = Math.min(len, maxBytesRead - numRead + 1); int b = super.read(buf, off, num); if (b > 0) { ...
daf3054fb340c87e81385633e1031451805914ce6d9ce0f4f8882464307fd907
51
vulmine-clean-v1.2
d1fbda62d3a47835d3fb35db8bd42ecc205a5386
https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-400" ]
6dcd0e06f2090dfa429cb2749fe647913cdae50253c7f4081199092e0f28a3b1
[ 43, 46, 47, 60, 63, 64 ]
tree-sitter
1
patch-touched-candidate
java
common/src/main/java/io/netty/util/internal/BoundedInputStream.java
common/src/main/java/io/netty/util/internal/BoundedInputStream.java
f844d78e4e23182610a24576d225de933f90f92e
[ 10 ]
strict
https://github.com/netty/netty.git
00006de12b3d17587ee6858ad10941d92b6e8fd1d8f9619788b1ec50069e2c87
patch-touched-candidate
train
--- a/common/src/main/java/io/netty/util/internal/BoundedInputStream.java +++ b/common/src/main/java/io/netty/util/internal/BoundedInputStream.java @@ -40,11 +40,9 @@ checkMaxBytesRead(); int b = super.read(); - if (b > 0) { + if (b != -1) { numRead++; } - - ...
function
read
1
[ 10, 13, 14 ]
[ 16, 42, 49, 51, 52, 161, 163, 166, 167, 168, 169, 170, 189 ]
GHSA-hf6p-4rv2-9qrp
def __new__(cls, sourceName: str, **kwargs): """Dispatches to the right subclass.""" if cls != InputSource: # Only take control of calls to InputSource(...) itself. return super().__new__(cls) if sourceName == "-": return StdinInputSource(sourceName, **kw...
cbae70c104567a947687fff1cb5f0bf90906427cdc023f39c8e973e7e05b6f1d
42
[ "CVE-2021-23423", "PYSEC-2021-117", "SNYK-PYTHON-BIKESHED-1537647" ]
def __new__(cls, sourceName: str): """Dispatches to the right subclass.""" if cls != InputSource: # Only take control of calls to InputSource(...) itself. return super().__new__(cls) if sourceName == "-": return StdinInputSource(sourceName) if sou...
34dea9d221bc4eacb6032517e7dc1e5d2f64e6daa82a5ac3d5b4997d28c8c66f
41
vulmine-clean-v1.2
b2f668fca204260b1cad28d5078e93471cb6b2dd
https://github.com/tabatkins/bikeshed/commit/b2f668fca204260b1cad28d5078e93471cb6b2dd
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-22" ]
016e3427b7e78f0711078b95f407cfa66de223550c00a88d35bc8dc68e439411
[ 41, 48, 50, 51, 160, 182 ]
tree-sitter
1
patch-touched-candidate
python
bikeshed/InputSource.py
bikeshed/InputSource.py
2010cf3f8757d3719e8a8cfcaa99bd8628606ce3
[ 1, 8, 10, 11 ]
strict
https://github.com/tabatkins/bikeshed.git
00019b73597b3234086e89fb86cf891b02960448401c210c261cdd6a2ee0357a
patch-touched-candidate
train
--- a/bikeshed/InputSource.py +++ b/bikeshed/InputSource.py @@ -13,6 +13,7 @@ import requests import tenacity +from . import config from .Line import Line @@ -38,17 +39,17 @@ manager for temporarily switching to the directory of a file InputSource. """ - def __new__(cls, sourceName: str): + d...
function
__new__
1
[ 1, 8, 10, 11 ]
[ 18, 19, 20, 21, 27, 28, 29, 30, 54, 87, 88, 101, 102, 103, 104, 105, 106 ]
GHSA-4hvc-qwr2-f8rv
@Override public Object decode(ByteBuf buf, State state) throws IOException { try { //set thread context class loader to be the classLoader variable as there could be reflection //done while reading from input stream which reflection will use thread class load...
5bd3f6a1d0d96cbd5c317eac8ef2580326ada20d46cab166e79398c16672892f
43
[ "CVE-2023-42809" ]
@Override public Object decode(ByteBuf buf, State state) throws IOException { try { //set thread context class loader to be the classLoader variable as there could be reflection //done while reading from input stream which reflection will use thread class load...
9968ce3288405e7d24fbe2b84b80f9861e391cd2595daf99d458c9225b664834
43
vulmine-clean-v1.2
fe6a2571801656ff1599ef87bdee20f519a5d1fe
https://github.com/redisson/redisson/commit/fe6a2571801656ff1599ef87bdee20f519a5d1fe
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-502" ]
876e3b53c09a5077e11a1384220ad870deef1154905b889eff0ed0744cc39c31
[ 18, 19, 20, 21, 27, 28, 29, 30, 54, 87 ]
tree-sitter
1
patch-touched-candidate
java
redisson/src/main/java/org/redisson/codec/SerializationCodec.java
redisson/src/main/java/org/redisson/codec/SerializationCodec.java
c70943b27ea46fe691cc387e35177364b93d54a0
[ 12 ]
strict
https://github.com/redisson/redisson.git
0006ee21bfda0ab056bba3e493ec352547e91e70d91d87d27dc9388bb245d12a
patch-touched-candidate
train
--- a/redisson/src/main/java/org/redisson/codec/SerializationCodec.java +++ b/redisson/src/main/java/org/redisson/codec/SerializationCodec.java @@ -15,19 +15,19 @@ */ package org.redisson.codec; -import java.io.IOException; -import java.io.ObjectInputStream; -import java.io.ObjectOutputStream; - +import io.netty.b...
function
decode
1
[ 12 ]
[ 1223, 1227, 1236, 1239, 1242, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1319 ]
GHSA-32p4-gm2c-wmch
def ssh_key_gen(self): info = self.user_info() overwrite = None try: ssh_key_file = self.get_ssh_key_path() pub_file = f'{ssh_key_file}.pub' except Exception as e: return (1, '', to_native(e)) ssh_dir = os.path.dirname(ssh_key_file) ...
84d311e64ec49fb737fe39bb08a71a5585559eb3a338002ffa8213ecd9b93d8c
1,218
[ "CVE-2024-9902", "PYSEC-2026-1121" ]
def ssh_key_gen(self): info = self.user_info() overwrite = None try: ssh_key_file = self.get_ssh_key_path() except Exception as e: return (1, '', to_native(e)) ssh_dir = os.path.dirname(ssh_key_file) if not os.path.exists(ssh_dir): ...
0e38f5f20bfa1a0650d4e6dcbc963d7aabf4b527f3dc192a1ba2bb73995e4757
1,218
vulmine-clean-v1.2
3b6de811abea0a811e03e3029222a7e459922892
https://github.com/ansible/ansible/commit/3b6de811abea0a811e03e3029222a7e459922892
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-863" ]
418a0dc96cfbb5182fa7197b5b73007d4f96a56ad249517456b79b1009a7b872
[ 1236, 1306 ]
tree-sitter
1
patch-touched-candidate
python
lib/ansible/modules/user.py
lib/ansible/modules/user.py
cfdafb9bb6a2d8ceda49e5d54a4cfe285e11b91c
[ 6, 10, 19, 22, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 102 ]
strict
https://github.com/ansible/ansible.git
00072ffa689f73e774674c353cf50ee5dee96a2f1259ae75a5afcf01ea58bc0b
patch-touched-candidate
train
--- a/lib/ansible/modules/user.py +++ b/lib/ansible/modules/user.py @@ -1220,9 +1220,11 @@ overwrite = None try: ssh_key_file = self.get_ssh_key_path() + pub_file = f'{ssh_key_file}.pub' except Exception as e: return (1, '', to_native(e)) ssh_dir ...
function
ssh_key_gen
1
[ 19, 89 ]
[ 354, 355 ]
GHSA-xp97-6w7r-4cjc
def authenticate(self, context, auth=None): """Authenticate credentials and return a token. Accept auth as a dict that looks like:: { "auth":{ "passwordCredentials":{ "username":"test_user", "password":...
1a70b36942cca048f805be81a62023a1ee395cf4fe02769955b5f874f576362e
229
[ "CVE-2012-3426" ]
def authenticate(self, context, auth=None): """Authenticate credentials and return a token. Accept auth as a dict that looks like:: { "auth":{ "passwordCredentials":{ "username":"test_user", "password":...
e5587f49f23ec8c5fe2b4b7ed3d1a89e6b3a2ea3aaa8a3ba5f6b8a7d480a2e62
229
vulmine-clean-v1.2
29e74e73a6e51cffc0371b32354558391826a4aa
http://github.com/openstack/keystone/commit/29e74e73a6e51cffc0371b32354558391826a4aa
0.93
high
[ "explicit_advisory_commit_reference", "missing_cwe" ]
null
[]
314f2cc525d242be2b689a12d983755000d9fe3b176f5b9c7fc8710f561f1a40
[ 354 ]
tree-sitter
1
patch-touched-candidate
python
keystone/service.py
keystone/service.py
9a841f3ba93d5a0bd1f56cc897415258ed6cf877
[ 126, 127 ]
strict
https://github.com/openstack/keystone.git
000738cb5b779b274bd4f42a9145127b6ddf247995e48701217dba7235d8185d
patch-touched-candidate
train
--- a/keystone/service.py +++ b/keystone/service.py @@ -351,7 +351,8 @@ context, token_id, dict(id=token_id, user=user_ref, tenant=tenant_ref, - metadata=metadata_ref...
function
authenticate
1
[ 126 ]
[ 972 ]
GHSA-qw6h-vgh9-j6wx
html: function(){ var u = escapeHtml(address); body = '<p>' + statuses.message[status] + '. Redirecting to ' + u + '</p>' },
7e2ae48ce6177975e1d97daf98bdafad5d8ae1fd2f031f181e744f58038d9fb0
970
[ "CVE-2024-43796" ]
html: function(){ var u = escapeHtml(address); body = '<p>' + statuses.message[status] + '. Redirecting to <a href="' + u + '">' + u + '</a></p>' },
74633662380fc92a37cc2e760ee65ba1552ee65b2dd8e1aa6c44bae467c623b5
970
vulmine-clean-v1.2
54271f69b511fea198471e6ff3400ab805d6b553
https://github.com/expressjs/express/commit/54271f69b511fea198471e6ff3400ab805d6b553
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-79" ]
2f340122b78daa3139a14ac06896a68d71c8038515918e2e5e23ffcf578e3128
[ 972 ]
tree-sitter
1
patch-touched-candidate
javascript
lib/response.js
lib/response.js
125bb742a38cd97938a3932b47cc301e41c31f5d
[ 3 ]
strict
https://github.com/expressjs/express.git
00090e77e9461fb3c4bbf093a96aad2c9119b754d14b73f80e4fef76f6ce3311
patch-touched-candidate
train
--- a/lib/response.js +++ b/lib/response.js @@ -969,7 +969,7 @@ html: function(){ var u = escapeHtml(address); - body = '<p>' + statuses.message[status] + '. Redirecting to <a href="' + u + '">' + u + '</a></p>' + body = '<p>' + statuses.message[status] + '. Redirecting to ' + u + '</p>' },...
function
<anonymous@970>
1
[ 3 ]
[ 531, 1372 ]
GHSA-7whh-79j3-7c55
public void draw(HumanEntity who, boolean updateDynamic, boolean recreateInventory) { if (updateDynamic) { updateElements(who, elements.values()); } calculatePageAmount(who); Inventory inventory = getInventory(who); if (inventory == null || recreateInventory) { ...
d8f491026515f27df8aafdade1f03231f69922cc1ac8f0c7560bca3acad90da9
682
[ "CVE-2025-62784" ]
public void draw(HumanEntity who, boolean updateDynamic, boolean recreateInventory) { draw(who, updateDynamic, recreateInventory, true); }
050d7722828f6691d029fd02166fddf8fa4b893b816c983321c271fe3650dd8b
686
vulmine-clean-v1.2
690fc91d137c6cc04f6ed3a89449050964dd8cb9
https://github.com/Phoenix616/InventoryGui/commit/690fc91d137c6cc04f6ed3a89449050964dd8cb9
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-837" ]
642d6a2489f23bc603fe429bd17703d7f318c0e38dac4723242190cba3125721
[ 530, 531, 532, 533, 535, 687, 688, 689, 690, 696, 697, 698, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 1396, 1443 ]
tree-sitter
1
patch-touched-candidate
java
src/main/java/de/themoep/inventorygui/InventoryGui.java
src/main/java/de/themoep/inventorygui/InventoryGui.java
29d77a1bd409fbbab64d19716d7122cc869b3bf3
[]
strict
https://github.com/Phoenix616/InventoryGui.git
0017ac9169dbb44efc0957cdd656cf8e764953a2718e98bd608b4853cf3cf430
patch-touched-candidate
train
--- a/src/main/java/de/themoep/inventorygui/InventoryGui.java +++ b/src/main/java/de/themoep/inventorygui/InventoryGui.java @@ -527,12 +527,8 @@ * @param pageNumber The page number to set */ public void setPageNumber(HumanEntity player, int pageNumber) { - Inventory inventory = getInventory(p...
function
draw
1
[ 2, 3 ]
[ 419, 530 ]
GHSA-7v6m-28jr-rg84
private String interpolateMessage(String message, Context context, Locale locale) throws MessageDescriptorFormatException { // if the message does not contain any message parameter, we can ignore the next steps and just return // the unescaped message. It avoids storing the message in the cache and a cache lookup....
5ebc97c7402d97d92272de5341bc7c2ec36b58d720e454b6f9bd2af58b15261a
387
[ "CVE-2025-35036" ]
private String interpolateMessage(String message, Context context, Locale locale) throws MessageDescriptorFormatException { // if the message does not contain any message parameter, we can ignore the next steps and just return // the unescaped message. It avoids storing the message in the cache and a cache lookup....
fd5a131f5e3e4de69067b0e18dec485da7d76c463330472a463e707bbd06ae00
387
vulmine-clean-v1.2
05f795bb7cf18856004f40e5042709e550ed0d6e
https://github.com/hibernate/hibernate-validator/commit/05f795bb7cf18856004f40e5042709e550ed0d6e
0.81
high
[ "explicit_advisory_commit_reference", "large_multi_file_commit" ]
null
[ "CWE-94" ]
911879402e75737b16eba4714164eb79e10fee8a8fc890de8d3880137ca3c0bb
[ 419, 530 ]
tree-sitter
1
patch-touched-candidate
java
engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java
40c5c645b77a5f9020142129c63fc44df03c538a
[ 33 ]
strict
https://github.com/hibernate/hibernate-validator.git
00245dcf2a1f4923a048d873af97b57b782504f360a6580a41cda9ca9887b76c
patch-touched-candidate
train
--- a/engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java +++ b/engine/src/main/java/org/hibernate/validator/messageinterpolation/AbstractMessageInterpolator.java @@ -416,7 +416,7 @@ // HibernateMessageInterpolatorContext // but it can be a spec Context in the Jaka...
function
interpolateMessage
1
[ 33 ]
[ 4, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 95, 96, 97, 98, 99, 100, 101, 102, 105, 106, 107, 108, 110, 111, 112, 113, 123, 129, 130, 131, 132, 133, 134 ]
GHSA-6pc9-xqrg-wfqw
def load(self): config_type = type(self).__name__.lower() data = read_raw_config(config_type, self.path) if data is not None: data = self.pre_process_data(data) self.update(data)
e8eecf3c8be67064c93175c58360d8061adf5684022234b370bd04c09f7c4f89
103
[ "CVE-2022-0430", "PYSEC-2022-167" ]
def load(self): config_type = type(self).__name__.lower() try: with self.path.open(encoding=UTF8) as f: try: data = json.load(f) except ValueError as e: raise ConfigFileError( f'invalid {confi...
58e00c6adf350d20c6cfab7edf650785c9414d14708861502cc77ef693dc4234
80
vulmine-clean-v1.2
65ab7d5caaaf2f95e61f9dd65441801c2ddee38b
https://github.com/httpie/httpie/commit/65ab7d5caaaf2f95e61f9dd65441801c2ddee38b
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-200" ]
4c503cfcde357ae2e211bac7a043eee9ad4ddf830a7feb986c72b736cd0d8953
[ 4, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 109 ]
tree-sitter
1
patch-touched-candidate
python
httpie/config.py
httpie/config.py
b5623ccc8797312de60e4ca37dea249fa0a1ea39
[ 3, 4, 5, 6 ]
strict
https://github.com/httpie/httpie.git
00250f7ec164acabdc5ec682aa26ccf033cf1cec8ccd5ca332dc4c1f6070509d
patch-touched-candidate
train
--- a/httpie/config.py +++ b/httpie/config.py @@ -1,7 +1,7 @@ import json import os from pathlib import Path -from typing import Union +from typing import Any, Dict, Union from . import __version__ from .compat import is_windows @@ -62,6 +62,21 @@ pass +def read_raw_config(config_type: str, path: Path) ...
function
load
1
[ 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ]
[ 8, 44, 63, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109 ]
GHSA-fjf4-6f34-w64q
@GET public Response build() { ProfileHelper.requireFeature(Profile.Feature.DOCKER); final MultivaluedMap<String, String> params = session.getContext().getUri().getQueryParameters(); account = params.getFirst(DockerAuthV2Protocol.ACCOUNT_PARAM); if (account == null) { ...
e38390dab75655584612187ff4b5460e59b1f87fa0494f2d646bf927512276f3
47
[ "CVE-2026-2733" ]
@GET public Response build() { ProfileHelper.requireFeature(Profile.Feature.DOCKER); final MultivaluedMap<String, String> params = session.getContext().getUri().getQueryParameters(); account = params.getFirst(DockerAuthV2Protocol.ACCOUNT_PARAM); if (account == null) { ...
ff7c301b283cd6dea704358db6ff6b171865603f49b411948f5262629f0dd8d7
45
vulmine-clean-v1.2
743ac24081b2c6da36aac3775147ec5b80c2861e
https://github.com/keycloak/keycloak/commit/743ac24081b2c6da36aac3775147ec5b80c2861e
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-285" ]
f4aadb5da9f4ff3651974a8638f272ba767c54177b12a103fe84cc907c507bfc
[ 57, 58, 59, 60, 61, 62, 63, 64, 65 ]
tree-sitter
1
patch-touched-candidate
java
services/src/main/java/org/keycloak/protocol/docker/DockerEndpoint.java
services/src/main/java/org/keycloak/protocol/docker/DockerEndpoint.java
bb492174094b8881e63e547211b4c8637a8b69d0
[ 17 ]
strict
https://github.com/keycloak/keycloak.git
00299f7597fea3b849ac8fc95133187ca21442cc6b0cf971a9b67563f62497ba
patch-touched-candidate
train
--- a/services/src/main/java/org/keycloak/protocol/docker/DockerEndpoint.java +++ b/services/src/main/java/org/keycloak/protocol/docker/DockerEndpoint.java @@ -5,6 +5,7 @@ import jakarta.ws.rs.core.Response; import org.keycloak.common.Profile; +import org.keycloak.events.Errors; import org.keycloak.events.EventBui...
function
build
1
[ 13, 14, 15, 16, 17, 18, 19, 20, 21 ]
[ 314, 315, 316, 317, 318 ]
GHSA-fpxx-xv4c-gxqp
def sensitive_config_values(self) -> Set[tuple[str, str]]: # noqa: UP006 if self.configuration_description is None: return ( _get_empty_set_for_configuration() ) # we can't use set() here because set is defined below # ¯\_(ツ)_/¯ flattened = { (s,...
7ae4549cb12140ae8d9d4484d0a5bb5d70456cd275ca55f410d34449b4fb7b40
304
[ "BIT-airflow-2023-45348", "CVE-2023-45348", "PYSEC-2023-204" ]
def sensitive_config_values(self) -> Set[tuple[str, str]]: # noqa: UP006 if self.configuration_description is None: return ( _get_empty_set_for_configuration() ) # we can't use set() here because set is defined below # ¯\_(ツ)_/¯ flattened = { (s,...
861542f0aa0cf87de9e9ca5db31225a389ee898624e1c89ff25b63b12950083b
304
vulmine-clean-v1.2
a4a0b5dd3d0ce05311c70bb9a32b66a650dbc0b4
https://github.com/apache/airflow/commit/a4a0b5dd3d0ce05311c70bb9a32b66a650dbc0b4
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-200" ]
d11320574f24a32997d8eaf7f2382cbe59958902b5277a99c0b1182fcfdbd482
[ 314 ]
tree-sitter
1
patch-touched-candidate
python
airflow/configuration.py
airflow/configuration.py
1fdfa9af65e41251af2e69ff9511e0b6165388e0
[ 11, 12, 13, 14, 15 ]
strict
https://github.com/apache/airflow.git
002ad9ca580739e62106539e1fdf2c36d9b9294a91e779572fcc5c9070c3c489
patch-touched-candidate
train
--- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -311,7 +311,11 @@ for s, s_c in self.configuration_description.items() for k, item in s_c.get("options").items() # type: ignore[union-attr] } - sensitive = {(section, key) for (section, key), v in flattened.items...
function
sensitive_config_values
1
[ 11 ]
[ 81 ]
GHSA-fwcm-rqvw-j3p7
commandApp.get("/api/getTagValue", secureFnc, async function (req, res, next) { const permission = checkGroupsFnc(req); if (res.statusCode === 403) { runtime.logger.error("api get getTagValue: Tocken Expired"); } else if (!authJwt.haveAdminPermission(permissio...
2374ed3ff51eb3dff8d2f2182f1deb05606deecfdcd8b20e4eba80d0c340cb04
76
[ "CVE-2026-43946" ]
commandApp.get("/api/getTagValue", secureFnc, async function (req, res, next) { const permission = checkGroupsFnc(req); if (res.statusCode === 403) { runtime.logger.error("api get getTagValue: Tocken Expired"); } else if (!authJwt.haveAdminPermission(permissio...
17b2f5646449202f68fcd3b4a38a6eeb19105085241b3b884ee165adad032c99
76
vulmine-clean-v1.2
78534da61a91613712b44bb63c8d7da8c5df5ca4
https://github.com/frangoteam/FUXA/commit/78534da61a91613712b44bb63c8d7da8c5df5ca4
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-863" ]
2dc5fb18cf41590e53175f071b88ca3c5cbab3d94a8ca3c76579e1b6e60d37c0
[ 81 ]
tree-sitter
1
patch-touched-candidate
javascript
server/api/command/index.js
server/api/command/index.js
61b5cf41af63a60749ac39a285be66b693d19b94
[ 6 ]
strict
https://github.com/frangoteam/FUXA.git
002e496e44d150ab21368eb11435621b9a0d34695405a093aeeb2b4375be618b
patch-touched-candidate
train
--- a/server/api/command/index.js +++ b/server/api/command/index.js @@ -78,7 +78,7 @@ if (res.statusCode === 403) { runtime.logger.error("api get getTagValue: Tocken Expired"); } else if (!authJwt.haveAdminPermission(permission) && !runtime.scriptsMgr.isAuthorisedByScriptName(...
function
<anonymous@76>
1
[ 6 ]
[ 18, 39, 45, 159, 160, 161, 162, 163, 164, 165, 166, 167, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 788, 789, 791, 802, 803, 804, 805, 806, 826, 827, 828, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842,...
GHSA-px2r-cmr2-phw7
@Nullable CertificateCredentialsImpl getCertificate() { if (StringUtils.isNotEmpty(clientSecret.getPlainText())) { return null; } if (StringUtils.isEmpty(certificateId)) { return null; } CertificateCredentialsImp...
8584789e603b6ce29366896c20b66f6bbb3cb810d2208ebc99ceefc5075b3794
151
[ "CVE-2023-25768" ]
@Nullable CertificateCredentialsImpl getCertificate() { if (StringUtils.isNotEmpty(clientSecret.getPlainText())) { return null; } if (StringUtils.isEmpty(certificateId)) { return null; } return CredentialsMatcher...
3c26eb53e2be56e418d9f56d872ad4b60cbc9482cbc5f65b2b5cce5c75213734
148
vulmine-clean-v1.2
64da8176c83a41bb83d3ad759628c9bd275b42f5
https://github.com/jenkinsci/azure-credentials-plugin/commit/64da8176c83a41bb83d3ad759628c9bd275b42f5
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-862", "CWE-863" ]
3678e0765be765bae6d11346e5ee0befca7255eae029618c6a35c0a265f04f7c
[ 156, 157, 158, 159, 160, 161, 162, 802, 805, 806 ]
tree-sitter
1
patch-touched-candidate
java
src/main/java/com/microsoft/azure/util/AzureCredentials.java
src/main/java/com/microsoft/azure/util/AzureCredentials.java
887e0f9e898b2765d78e53c7b39017b8d6295dca
[ 9, 10, 11, 12, 13, 14, 15, 16, 17 ]
strict
https://github.com/jenkinsci/azure-credentials-plugin.git
00388befb8d75969832cf3902f0cb52046bd07b751edb9db2f9091f6f9319ab2
patch-touched-candidate
train
--- a/src/main/java/com/microsoft/azure/util/AzureCredentials.java +++ b/src/main/java/com/microsoft/azure/util/AzureCredentials.java @@ -15,6 +15,7 @@ import com.azure.resourcemanager.resources.models.Subscription; import com.azure.security.keyvault.secrets.SecretClient; import com.azure.security.keyvault.secrets.S...
function
getCertificate
1
[ 9, 10, 11, 12, 13, 14, 15 ]
[ 203, 224, 283, 554 ]
GHSA-9p7x-8c57-4pqv
private WorkflowDefinition _getWorkflowDefinition( long companyId, String name, int version, boolean liberal) throws PortalException { try { return _kaleoWorkflowModelConverter.toWorkflowDefinition( _get( liberal, () -> _kaleoDefinitionVersionLocalService. getKaleoDefinitionVersio...
fb696a983242122c49ccf33ecf482bdb996bf93211e92d7830cdb8bb4981dbb9
552
[ "CVE-2025-43786" ]
private WorkflowDefinition _getWorkflowDefinition( long companyId, String name, int version, boolean liberal) throws WorkflowException { try { return _kaleoWorkflowModelConverter.toWorkflowDefinition( _get( liberal, () -> _kaleoDefinitionVersionLocalService. getKaleoDefinitionVers...
8cd16e1281b800d4ee2b384a5ab06270afb76b15af32916981c75ecd4dd36d31
552
vulmine-clean-v1.2
8f9728086bd61661437b0aa8493c83510914a474
https://github.com/liferay/liferay-portal/commit/8f9728086bd61661437b0aa8493c83510914a474
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-203", "CWE-208" ]
4c4388606ff5607d1b5a0659c082368a99c308d77f0759bcda3c6e5c2242f965
[ 203, 224, 283, 554 ]
tree-sitter
1
patch-touched-candidate
java
modules/apps/portal-workflow/portal-workflow-kaleo-runtime-integration-impl/src/main/java/com/liferay/portal/workflow/kaleo/runtime/integration/internal/WorkflowDefinitionManagerImpl.java
modules/apps/portal-workflow/portal-workflow-kaleo-runtime-integration-impl/src/main/java/com/liferay/portal/workflow/kaleo/runtime/integration/internal/WorkflowDefinitionManagerImpl.java
7d81b532a3999ac2830943559d23d496dbc875b9
[ 3 ]
strict
https://github.com/liferay/liferay-portal.git
003c99e90b210dddf3d616ea08673acd3bee6b43aa75c29c6f972ee97b66db81
patch-touched-candidate
train
--- a/modules/apps/portal-workflow/portal-workflow-kaleo-runtime-integration-impl/src/main/java/com/liferay/portal/workflow/kaleo/runtime/integration/internal/WorkflowDefinitionManagerImpl.java +++ b/modules/apps/portal-workflow/portal-workflow-kaleo-runtime-integration-impl/src/main/java/com/liferay/portal/workflow/ka...
function
_getWorkflowDefinition
1
[ 3 ]
[ 16 ]
GHSA-977x-g7h5-7qgw
function EdwardsCurve(conf) { // NOTE: Important as we are creating point in Base.call() this.twisted = conf.a != 1; this.mOneA = this.twisted && conf.a == -1; this.extended = this.mOneA; Base.call(this, 'edwards', conf); this.a = new bn(conf.a, 16).mod(this.red.m).toRed(this.red); this.c = new bn(conf....
c966773546c89623023bb4178d1b07ac388b37a1833a4f7265d3941b1fbf201a
10
[ "CVE-2024-42460" ]
function EdwardsCurve(conf) { // NOTE: Important as we are creating point in Base.call() this.twisted = conf.a != 1; this.mOneA = this.twisted && conf.a == -1; this.extended = this.mOneA; Base.call(this, 'mont', conf); this.a = new bn(conf.a, 16).mod(this.red.m).toRed(this.red); this.c = new bn(conf.c, ...
5303e4d296608ee8bc906a9206617afec2a985819f0e1a8142961b0a647998b0
10
vulmine-clean-v1.2
b6ff1758d9a6d1a7aec177ff6df9f586492a6315
https://github.com/indutny/elliptic/commit/b6ff1758d9a6d1a7aec177ff6df9f586492a6315
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-130" ]
da5e4fa4637ee738448a26504873fa9a138b429cbfd92158ca69ad1a3d4aab22
[ 16 ]
tree-sitter
1
patch-touched-candidate
javascript
lib/elliptic/curve/edwards.js
lib/elliptic/curve/edwards.js
17dc013761dd1efcfb868e2b06b0b897627b40be
[ 7 ]
strict
https://github.com/indutny/elliptic.git
0046e3766d42cf2f57869b599de8777b404312b7f021ea598bff0627587bc0af
patch-touched-candidate
train
--- a/lib/elliptic/curve/edwards.js +++ b/lib/elliptic/curve/edwards.js @@ -13,7 +13,7 @@ this.mOneA = this.twisted && conf.a == -1; this.extended = this.mOneA; - Base.call(this, 'mont', conf); + Base.call(this, 'edwards', conf); this.a = new bn(conf.a, 16).mod(this.red.m).toRed(this.red); this.c = ne...
function
EdwardsCurve
1
[ 7 ]
[ 27, 36, 78, 79, 82, 83, 94 ]
GHSA-8pxv-x6jq-5vw9
public AjaxSearchFieldPanel( final String id, final String name, final IModel<String> model, final IAutoCompleteRenderer<String> renderer, final AutoCompleteSettings settings) { super(id, name, model); this.settings = settings; this.renderer =...
630f44e51ee538c6e3a4992dd53193b4216f8db0b3243085f52b001d4ba94d13
57
[ "CVE-2024-38503" ]
public AjaxSearchFieldPanel( final String id, final String name, final IModel<String> model, final IAutoCompleteRenderer<String> renderer, final AutoCompleteSettings settings) { super(id, name, model); this.settings = settings; this.renderer =...
493796c273c190a3bd427b705fecd60fc3c7d2c4d8737420cc7ade1810b466d8
57
vulmine-clean-v1.2
12e65f5fb12ad87ce0b223b3c2bb39025a4521e4
https://github.com/apache/syncope/commit/12e65f5fb12ad87ce0b223b3c2bb39025a4521e4
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-20", "CWE-79" ]
306ded962b350430fff46b3751e6948ebe56c845218aeef9c6e866d05816469d
[ 34, 36, 78, 81, 82, 108, 109, 110, 111, 112, 115, 116, 117, 118 ]
tree-sitter
1
patch-touched-candidate
java
client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxSearchFieldPanel.java
client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxSearchFieldPanel.java
09c1641641980fad0b59076415a1cbc9447d9354
[ 22, 23, 26, 27, 38 ]
strict
https://github.com/apache/syncope.git
00556249f0c271eb4bf8dbb94c35a07e1f9aa7b06a01621c8f31223f6b4307a7
patch-touched-candidate
train
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxSearchFieldPanel.java +++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/AjaxSearchFieldPanel.java @@ -24,6 +24,7 @@ import org.apache.syncope.client.ui.commons.ajax....
function
AjaxSearchFieldPanel
1
[ 22, 25, 26 ]
[ 8, 9, 10, 24, 25, 26, 27, 28, 31, 40, 41, 42, 43, 44, 45 ]
GHSA-fjqm-246c-mwqg
private BigInteger validate(BigInteger y, DHParameters dhParams) { if (y == null) { throw new NullPointerException("y value cannot be null"); } if (dhParams.getQ() != null) { if (ONE.equals(y.modPow(dhParams.getQ(), dhParams.getP()))) ...
1b552799d9fcd66d44b38fcdffaba3008a79dc929e17f6814d173949bb232718
22
[ "CVE-2016-1000346" ]
private BigInteger validate(BigInteger y, DHParameters dhParams) { if (dhParams.getQ() != null) { if (BigInteger.ONE.equals(y.modPow(dhParams.getQ(), dhParams.getP()))) { return y; } throw new IllegalArgumentException("Y value does...
fa95abd7b2335c9fb6efb0152642be7bbc527b945c299c3b0d7e783d591e68fc
19
vulmine-clean-v1.2
1127131c89021612c6eefa26dbe5714c194e7495
https://github.com/bcgit/bc-java/commit/1127131c89021612c6eefa26dbe5714c194e7495
0.93
high
[ "explicit_advisory_commit_reference", "missing_cwe" ]
null
[]
4385e64eaed28a859fd24d5574ecbc0652debfc4a1f476a1d249a60e5428051d
[ 23 ]
tree-sitter
1
patch-touched-candidate
java
core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java
core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java
63c5f15d8a26b66cbff0503e28ac945a6899a85c
[ 3, 4, 5, 6, 7, 10, 19, 20, 21, 22, 23, 24 ]
strict
https://github.com/bcgit/bc-java.git
00588e52a54bc1175cbdc017c2a8b338d96dbd48afc6c73edd53305f5e7a53c0
patch-touched-candidate
train
--- a/core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java +++ b/core/src/main/java/org/bouncycastle/crypto/params/DHPublicKeyParameters.java @@ -5,6 +5,9 @@ public class DHPublicKeyParameters extends DHKeyParameters { + private static final BigInteger ONE = BigInteger.valueOf(1); + ...
function
validate
1
[ 5 ]
[ 7, 20, 22, 100, 324, 325, 326, 327, 328, 329, 341, 383, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 567, 568, 578, 580, 582, 583, 591, 594, 636, 639 ]
GHSA-7x94-6g2m-3hp2
def patch(self, id): """Update user --- description: >- Update user information.\n ### Permission Table\n |Rule name|Scope|Operation|Assigned to node|Assigned to container| Description|\n |--|--|--|--|--|--|\n |User|Global|Edit|❌|❌...
84f394ad2b93fca00f24416c51cab43202ecb5efe4d655ceeeab3e64a47af6d2
477
[ "CVE-2023-28635", "PYSEC-2023-198", "PYSEC-2026-2006" ]
def patch(self, id): """Update user --- description: >- Update user information.\n ### Permission Table\n |Rule name|Scope|Operation|Assigned to node|Assigned to container| Description|\n |--|--|--|--|--|--|\n |User|Global|Edit|❌|❌...
140ef718a73f1b9ca87beef09dbc569472fe03ec48caa7e71a715a1074a269c0
481
vulmine-clean-v1.2
aacfc24548cbf168579d2e13b2ddaf8ded715d36
https://github.com/vantage6/vantage6/commit/aacfc24548cbf168579d2e13b2ddaf8ded715d36
0.86
high
[ "explicit_advisory_commit_reference", "large_multi_file_commit" ]
null
[ "CWE-863" ]
6529693fa6f3f104b00a2ac8768afb93e3033c2271cc821e610c837d1056476b
[ 7, 21, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 345, 387, 550, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 593, 595, 597, 598, 599, 600, 601,...
tree-sitter
1
patch-touched-candidate
python
vantage6-server/vantage6/server/resource/user.py
vantage6-server/vantage6/server/resource/user.py
71ad8dbd338e78566f4c127c0cffb893ed7f533d
[ 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 91, 92, 102, 104, 106, 107, 115, 118, 160, 163 ]
strict
https://github.com/vantage6/vantage6.git
0058919925a5287a7b59c88d02d84d2b16b7f9f4d20a01708a8338a58c075077
patch-touched-candidate
train
--- a/vantage6-server/vantage6/server/resource/user.py +++ b/vantage6-server/vantage6/server/resource/user.py @@ -4,7 +4,7 @@ from http import HTTPStatus from flask import g, request -from flask_restful import reqparse, Api +from flask_restful import Api from vantage6.common import logger_name from vantage6.ser...
function
patch
1
[ 70, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 113, 115, 117, 118, 119, 120, 121, 122, 130, 131, 134, 176, 179 ]
[ 7, 165, 262, 272, 309, 399, 407, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 457, 458, 459 ]
GHSA-cf9f-wmhp-v4pr
def render(self, record, bound_column, value): # pylint: disable=arguments-differ if self.customfield.type == choices.CustomFieldTypeChoices.TYPE_BOOLEAN: template = helpers.render_boolean(value) elif self.customfield.type == choices.CustomFieldTypeChoices.TYPE_MULTISELECT: ...
a8db75068ee50e9ee9b53784210391a938b2b0433f50f29e1b210833dfd747d6
395
[ "CVE-2023-48705", "PYSEC-2023-285" ]
def render(self, record, bound_column, value): # pylint: disable=arguments-differ template = "" if self.customfield.type == choices.CustomFieldTypeChoices.TYPE_BOOLEAN: template = helpers.render_boolean(value) elif self.customfield.type == choices.CustomFieldTypeChoices.TYPE_MUL...
edc43ee380fa93e4fa1b7f6a85a1c0e02760ccf50a2d2d115d4f8b8a2662db32
395
vulmine-clean-v1.2
54abe23331b6c3d0d82bf1b028c679b1d200920d
https://github.com/nautobot/nautobot/commit/54abe23331b6c3d0d82bf1b028c679b1d200920d
0.87
high
[ "explicit_advisory_commit_reference", "large_multi_file_commit" ]
null
[ "CWE-79" ]
9875b75d327681602041b6272c1596c0904d6ce59859144bab46ceaed88f6165
[ 7, 165, 262, 272, 309, 396, 400, 401, 409, 438, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464 ]
tree-sitter
1
patch-touched-candidate
python
nautobot/core/tables.py
nautobot/core/tables.py
d1519295f0abd840e38c7dd8ec481e4ccf2264fe
[ 5, 13 ]
strict
https://github.com/nautobot/nautobot.git
005961169626deb23fe8ffa3962ceb15e1f8d1d5e8e6971b202fe2bb049502fe
patch-touched-candidate
train
--- a/nautobot/core/tables.py +++ b/nautobot/core/tables.py @@ -4,7 +4,7 @@ from django.core.exceptions import FieldDoesNotExist from django.db.models.fields.related import RelatedField from django.urls import reverse -from django.utils.html import escape, format_html +from django.utils.html import escape, format_ht...
function
render
1
[ 2, 6, 7, 15 ]
[ 58, 235, 265, 280 ]
GHSA-cc4w-3cff-j8fw
private void load(InputSource inputSource) throws CoreException { Element root; try { DocumentBuilder parser = XmlProcessorFactoryJdtUi.createDocumentBuilderFactoryWithErrorOnDOCTYPE().newDocumentBuilder(); parser.setErrorHandler(new DefaultHandler()); root = parser.parse(inputSource).getDocumentElement()...
0af24a43ece4bab1d22d32ad9e1c115ba66f28f73b1869bb999e4b5bca8de662
232
[]
private void load(InputSource inputSource) throws CoreException { Element root; try { DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder(); parser.setErrorHandler(new DefaultHandler()); root = parser.parse(inputSource).getDocumentElement(); } catch (SAXException | ParserCon...
e0228ea069272d055562f01088270ab44257031e50034f3e5c1e96b170cfb39b
232
vulmine-clean-v1.2
13675b1f8a74f47de4da89ed0ded6af7c21dfbec
https://github.com/eclipse-jdt/eclipse.jdt.ui/commit/13675b1f8a74f47de4da89ed0ded6af7c21dfbec
0.89
high
[ "explicit_advisory_commit_reference", "large_multi_file_commit" ]
null
[ "CWE-611" ]
bdc90d41c6fafaef86bb8a4b6c9ee7ce7d06d712d46e2b65d333216d26811162
[ 35, 235, 265, 280 ]
tree-sitter
1
patch-touched-candidate
java
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java
ab84e5d05d541065ec6f67d469e00545ed518ff0
[ 4 ]
strict
https://github.com/eclipse-jdt/eclipse.jdt.ui.git
005e9f4f3dfce48cd01269d53e2faa087f4e5d74b8e5a4016947f6ffff53e363
patch-touched-candidate
train
--- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java +++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java @@ -32,7 +32,6 @@ import javax.xml.transform.OutputKeys; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerEx...
function
load
1
[ 4 ]
[ 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ...
PYSEC-2026-1518
def _get_jinja2_variables_from_template(template: str) -> set[str]: if not _HAS_JINJA2: msg = ( "jinja2 not installed, which is needed to use the jinja2_formatter. " "Please install it with `pip install jinja2`." ) raise ImportError(msg) env = _RestrictedSandboxed...
ec5b901a2d6bccc12d102558b29c38dbc85951b4bfebcbd7145d334c29ee0b68
150
[ "CVE-2025-65106", "GHSA-6qv9-48xg-fc7f" ]
def _get_jinja2_variables_from_template(template: str) -> set[str]: if not _HAS_JINJA2: msg = ( "jinja2 not installed, which is needed to use the jinja2_formatter. " "Please install it with `pip install jinja2`." ) raise ImportError(msg) env = Environment() # noq...
c179990a37b8c36dbe07975e875a99448ade537ddc0af029b2d14d1498806d7b
97
vulmine-clean-v1.2
fa7789d6c21222b85211755d822ef698d3b34e00
https://github.com/langchain-ai/langchain/commit/fa7789d6c21222b85211755d822ef698d3b34e00
0.93
high
[ "explicit_advisory_commit_reference", "missing_cwe" ]
null
[]
65e75f69062d01deb5abedf09afb1d0515e37ee1cd4d384e1c80de4dfbca8cb6
[ 20, 62, 63, 64, 65, 66, 67, 68, 69, 104 ]
tree-sitter
1
patch-touched-candidate
python
libs/core/langchain_core/prompts/string.py
libs/core/langchain_core/prompts/string.py
889e8b6de886dca11ac854bb0929fa2862610ca1
[ 8 ]
strict
https://github.com/langchain-ai/langchain.git
0061d4ac4e12d9be5a847855aefb09e0c51375dfd0af5abd6980614d652cb991
patch-touched-candidate
train
--- a/libs/core/langchain_core/prompts/string.py +++ b/libs/core/langchain_core/prompts/string.py @@ -17,8 +17,65 @@ from langchain_core.utils.interactive_env import is_interactive_env try: - from jinja2 import Environment, meta + from jinja2 import meta + from jinja2.exceptions import SecurityError f...
function
_get_jinja2_variables_from_template
1
[ 8 ]
[ 142 ]
GHSA-hq75-ggc3-8h3q
parse() { // 获取数据 const info = antSword['ipcRenderer'].sendSync('shell-findOne', this.manager.opt['_id']); const conf = info['database'] || {}; // 刷新UI // 1.清空数据 this.tree.deleteChildItems(0); // 2.添加数据 let items = []; for (let _ in conf) { items.push({ id: `conn::${_...
762c9d0a37b959b92da0543183e2fedeb57d24e4d022b040836dc1a8f5fa5c10
129
[ "CVE-2019-13970" ]
parse() { // 获取数据 const info = antSword['ipcRenderer'].sendSync('shell-findOne', this.manager.opt['_id']); const conf = info['database'] || {}; // 刷新UI // 1.清空数据 this.tree.deleteChildItems(0); // 2.添加数据 let items = []; for (let _ in conf) { items.push({ id: `conn::${_...
10526a01a3c292811d13e589562b77cbe7471882807a8931959844b9324acad8
129
vulmine-clean-v1.2
4b932e81447b4b0475f4fce45525547395c249d3
https://github.com/AntSwordProject/antSword/commit/4b932e81447b4b0475f4fce45525547395c249d3
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-79" ]
6de5e9b6091e537f232a32e81ccf5bdf686678261c5104be00d2792ec126afdc
[ 142 ]
tree-sitter
1
patch-touched-candidate
javascript
source/modules/database/asp/index.js
source/modules/database/asp/index.js
e5230965f70908f4864afbcd1bc5765b429456f7
[ 14 ]
strict
https://github.com/AntSwordProject/antSword.git
0069a136451bad228f953887652fcb39d2dbf03c015ed4b1d97a7f103e93ab13
patch-touched-candidate
train
--- a/source/modules/database/asp/index.js +++ b/source/modules/database/asp/index.js @@ -139,7 +139,7 @@ items.push({ id: `conn::${_}`, // text: `${conf[_]['type']}:\/\/${conf[_]['user']}@${conf[_]['host']}`, - text: conf[_]['type'].toUpperCase(), + text: antSword.noxss(conf[_]['...
function
parse
1
[ 14 ]
[ 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69 ]
GHSA-gjx4-2c7g-fm94
const performScreenCapture = displays => new Promise((resolve, reject) => { // validate displayId const totalDisplays = displays.length if (totalDisplays === 0) { return reject(new Error('No displays detected try dropping screen option')) } const maxDisplayId = totalDisplays - 1 const di...
45628fce824c71e49fb11cf0c6deacd8b68ba6206e32f5c4618eb0076824d11b
10
[ "CVE-2025-55294" ]
const performScreenCapture = displays => new Promise((resolve, reject) => { // validate displayId const totalDisplays = displays.length if (totalDisplays === 0) { return reject(new Error('No displays detected try dropping screen option')) } const maxDisplayId = totalDisplays - 1 const di...
3340d1f7bf61154748624f090bb7562ffa7189171fbe8c68d597fcba05050019
10
vulmine-clean-v1.2
59c87b0c175eec76090e6ccde313f4fc5d569b78
https://github.com/bencevans/screenshot-desktop/commit/59c87b0c175eec76090e6ccde313f4fc5d569b78
0.98
high
[ "explicit_advisory_commit_reference" ]
null
[ "CWE-77" ]
5168ecddee1f89da4f5384d45eff9f0a519f6e5b75518758115cfe8a13406331
[ 23, 24, 25, 27, 28, 29, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 ]
tree-sitter
1
patch-touched-candidate
javascript
lib/darwin/index.js
lib/darwin/index.js
65bf8c2e67402cc3076b5b99edf4a169c3debc21
[ 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 ]
strict
https://github.com/bencevans/screenshot-desktop.git
006b4a9485b1d96e1baa7283e02f5fc7092a694b581620e8b6a5334b022ebc42
patch-touched-candidate
train
--- a/lib/darwin/index.js +++ b/lib/darwin/index.js @@ -20,13 +20,21 @@ return reject(new Error(`Invalid choice of displayId: ${displayId} ${validChoiceMsg}`)) } - const format = options.format || 'jpg' - let filename - let suffix + // Validate format + const allowedFormats = ['jpg', 'jpeg'...
function
performScreenCapture
1
[ 14, 15, 16, 18, 19, 20, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 ]
End of preview. Expand in Data Studio

VulMine vulnerability dataset

VulMine is a strict, naturally imbalanced function/method-level vulnerability dataset mined from public OSV advisories and immutable public Git revisions. The default configuration covers Java, Python, and JavaScript. The c-cpp configuration is a C/C++ language control built with the same VulMine label and cleaning principles for comparisons with Big-Vul.

Release

The default configuration contains vulmine-clean-v1.2.

Split Vulnerable (vul=1) Negative (vul=0) Total
Train 11,591 233,829 245,420
Validation 883 35,537 36,420
Test 952 35,022 35,974
Total 13,426 304,388 317,814

The negative-to-positive ratio is approximately 22.7:1. This is the natural output of the mining and cleaning procedure, not an estimate of operational vulnerability prevalence.

The c-cpp configuration contains vulmine-clean-cc-v1.0:

Split Vulnerable (vul=1) Negative (vul=0) Total
Train 8,830 354,069 362,899
Validation 671 53,340 54,011
Test 695 53,021 53,716
Total 10,196 460,430 470,626

Its negative-to-positive ratio is approximately 45.2:1. It is intended as a same-language control, not as a reproduction or drop-in replacement for Big-Vul.

The supplied splits are grouped by repository. Across splits there are:

  • zero shared repositories;
  • zero shared sample IDs;
  • zero shared normalized-code hashes.

Labels

  • vul=1: a pre-fix callable touched by a security-fix patch and accepted by the strict quality policy.
  • vul=0: a callable found in a modified source file that is unchanged across the fix and does not share its normalized-code hash with any positive.
  • vulnerable_lines_unit: 1-based candidate vulnerable-line positions within before_code.
  • patched_lines_unit: 1-based patch-line positions within after_code.

Every positive has at least one in-bounds vulnerable-line position. Every negative has identical before_code and after_code and empty callable-level line-label arrays.

These are automatically derived silver labels. A patch-touched line is not proof of semantic root cause, and an unchanged function is not proof that it is vulnerability-free.

Loading

from datasets import load_dataset

dataset = load_dataset(
    "ryal-xyz/vul-mine-vulnerability-dataset",
)
print(dataset)
print(dataset["train"][0])

Load the C/C++ control explicitly:

cc_dataset = load_dataset(
    "ryal-xyz/vul-mine-vulnerability-dataset",
    "c-cpp",
)

The Parquet files are sharded and can also be streamed:

dataset = load_dataset(
    "ryal-xyz/vul-mine-vulnerability-dataset",
    streaming=True,
)

Provenance and validation

The metadata/ directory contains:

  • the complete cleaning configuration and rejection audit;
  • deterministic repository-to-split assignments;
  • checksums for the original strict JSONL release;
  • checksums for every uploaded Parquet and metadata file;
  • the machine-readable mining and release summary;
  • a schema and field-semantics reference.

The default release contains 317,814 unique sample IDs and normalized-code hashes from 2,464 repositories. The C/C++ release contains 470,626 unique sample IDs and normalized-code hashes from 1,309 repositories. For both configurations, the cleaner and a separately implemented whole-release validator passed.

Source coverage

The July 2026 default run ingested OSV snapshots for Maven, npm, and PyPI:

  • 254,624 advisory records;
  • 18,018 explicit fix-commit references;
  • 11,933 successfully mined commits.

Only explicit commit references were followed. The miner did not guess commits from issue, pull-request, release, or advisory text.

The August 2026 C/C++ control ingested Android, GIT, Linux, and OSS-Fuzz OSV snapshots, then applied a deterministic C/C++ GitHub language allowlist before fetching 32,769 eligible commit references. Its metadata directory contains the exact cleaning audit, split assignments, checksums, and run summary.

Limitations

  • The dataset over-represents projects with machine-readable advisories and explicit public fix commits.
  • Security fixes can contain refactoring, cleanup, and unrelated hardening.
  • Same-file unchanged functions are useful hard negatives but can still contain latent vulnerabilities.
  • cvss_score is null in this release and should not be used for severity experiments.
  • The supplied class ratio reflects the extraction process, not deployment prevalence.

Licensing

The VulMine pipeline is MIT licensed. Dataset records contain third-party source code and metadata that retain their original upstream licenses and terms. No single license is asserted over the combined source-code corpus. Users are responsible for checking the repo_url, file provenance, and upstream license before redistribution or use that requires particular licensing conditions.

Citation

Until a formal publication is available, cite the dataset repository, the configuration and release name (vulmine-clean-v1.2 or vulmine-clean-cc-v1.0), and the immutable Hub commit used in your experiment.

The pipeline, methodology, tests, and full local reproduction documentation are maintained separately in the VulMine source repository.

Downloads last month
228