instruction
string
input
string
output
string
cwe_ids
list
cve_id
string
severity
string
cvss_score
float64
repo_name
string
func_name
string
file_path
string
commit_hash
string
is_vulnerable
int64
Analyze the following code function for security vulnerabilities
@VisibleForTesting public boolean isAnimating() { return false; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isAnimating File: packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationConversationInfo.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-40098
MEDIUM
5.5
android
isAnimating
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationConversationInfo.java
d21ffbe8a2eeb2a5e6da7efbb1a0430ba6b022e0
0
Analyze the following code function for security vulnerabilities
@Override public void onPlayFromMediaId(String mediaId, Bundle extras) { super.onPlayFromMediaId(mediaId, extras); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: onPlayFromMediaId File: Ports/Android/src/com/codename1/media/BackgroundAudioService.java Repository: codenameone/CodenameOne The code follows secure coding practices.
[ "CWE-668" ]
CVE-2022-4903
MEDIUM
5.1
codenameone/CodenameOne
onPlayFromMediaId
Ports/Android/src/com/codename1/media/BackgroundAudioService.java
dad49c9ef26a598619fc48d2697151a02987d478
0
Analyze the following code function for security vulnerabilities
@Override public ChannelListener.Setter<? extends ConnectedChannel> getCloseSetter() { return null; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getCloseSetter File: servlet/src/main/java/io/undertow/servlet/handlers/ServletInitialHandler.java Repository: undertow-io/undertow The code follows secure coding practices.
[ "CWE-862" ]
CVE-2019-10184
MEDIUM
5
undertow-io/undertow
getCloseSetter
servlet/src/main/java/io/undertow/servlet/handlers/ServletInitialHandler.java
d2715e3afa13f50deaa19643676816ce391551e9
0
Analyze the following code function for security vulnerabilities
@Override public boolean startUserInBackground(final int userId) { return startUser(userId, /* foreground */ false); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: startUserInBackground File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-284" ]
CVE-2015-3833
MEDIUM
4.3
android
startUserInBackground
services/core/java/com/android/server/am/ActivityManagerService.java
aaa0fee0d7a8da347a0c47cef5249c70efee209e
0
Analyze the following code function for security vulnerabilities
void registerRemoteAnimations(RemoteAnimationDefinition definition) { mRemoteAnimationDefinition = definition; if (definition != null) { definition.linkToDeath(this::unregisterRemoteAnimations); } }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: registerRemoteAnimations File: services/core/java/com/android/server/wm/ActivityRecord.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21145
HIGH
7.8
android
registerRemoteAnimations
services/core/java/com/android/server/wm/ActivityRecord.java
44aeef1b82ecf21187d4903c9e3666a118bdeaf3
0
Analyze the following code function for security vulnerabilities
public int engineGetKeySize(Key key) { if (key instanceof DHKey) { return ((DHKey)key).getParams().getP().bitLength(); } else { throw new IllegalArgumentException("not a DH key"); } }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: engineGetKeySize File: prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/IESCipher.java Repository: bcgit/bc-java The code follows secure coding practices.
[ "CWE-361" ]
CVE-2016-1000345
MEDIUM
4.3
bcgit/bc-java
engineGetKeySize
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/IESCipher.java
21dcb3d9744c83dcf2ff8fcee06dbca7bfa4ef35
0
Analyze the following code function for security vulnerabilities
@Override public boolean isIntegral() { return bigDecimalValue().scale() == 0; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isIntegral File: impl/src/main/java/org/eclipse/parsson/JsonNumberImpl.java Repository: eclipse-ee4j/parsson The code follows secure coding practices.
[ "CWE-834" ]
CVE-2023-4043
HIGH
7.5
eclipse-ee4j/parsson
isIntegral
impl/src/main/java/org/eclipse/parsson/JsonNumberImpl.java
84764ffbe3d0376da242b27a9a526138d0dfb8e6
0
Analyze the following code function for security vulnerabilities
@Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception { if (evt instanceof IdleStateEvent) { ConnectionClosureReason.setIdle(ctx.channel()); ctx.close(); } if (evt instanceof SslHandshakeCompletionEvent && ((SslHandshakeCompletionEvent) evt).isSuccess...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: userEventTriggered File: ratpack-core/src/main/java/ratpack/server/internal/NettyHandlerAdapter.java Repository: ratpack The code follows secure coding practices.
[ "CWE-74" ]
CVE-2019-17513
MEDIUM
5
ratpack
userEventTriggered
ratpack-core/src/main/java/ratpack/server/internal/NettyHandlerAdapter.java
efb910d38a96494256f36675ef0e5061097dd77d
0
Analyze the following code function for security vulnerabilities
static Map<String,Long> parseRevisionFile(AbstractBuild<?,?> build, boolean findClosest, boolean prunePinnedExternals) throws IOException { Map<String,Long> revisions = new HashMap<String,Long>(); // module -> revision if (findClosest) { for (AbstractBuild<?,?> b=build; b!=null; b=b.getPrev...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: parseRevisionFile File: src/main/java/hudson/scm/SubversionSCM.java Repository: jenkinsci/subversion-plugin The code follows secure coding practices.
[ "CWE-255" ]
CVE-2013-6372
LOW
2.1
jenkinsci/subversion-plugin
parseRevisionFile
src/main/java/hudson/scm/SubversionSCM.java
7d4562d6f7e40de04bbe29577b51c79f07d05ba6
0
Analyze the following code function for security vulnerabilities
protected CompletableFuture<Integer> internalGetMaxProducers(boolean applied) { return getTopicPoliciesAsyncWithRetry(topicName) .thenApply(op -> op.map(TopicPolicies::getMaxProducerPerTopic) .orElseGet(() -> { if (applied) { Integer maxPro...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: internalGetMaxProducers File: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java Repository: apache/pulsar The code follows secure coding practices.
[ "CWE-863" ]
CVE-2021-41571
MEDIUM
4
apache/pulsar
internalGetMaxProducers
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
5b35bb81c31f1bc2ad98c9fde5b39ec68110ca52
0
Analyze the following code function for security vulnerabilities
private List<Uri> extractUris(Bundle extras) { final List<Uri> uris = extras.getParcelableArrayList(Intent.EXTRA_STREAM); if (uris != null) { return uris; } final Uri uri = extras.getParcelable(Intent.EXTRA_STREAM); if (uri != null) { return Collections.si...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: extractUris File: src/main/java/eu/siacs/conversations/ui/ConversationFragment.java Repository: iNPUTmice/Conversations The code follows secure coding practices.
[ "CWE-200" ]
CVE-2018-18467
MEDIUM
5
iNPUTmice/Conversations
extractUris
src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
7177c523a1b31988666b9337249a4f1d0c36f479
0
Analyze the following code function for security vulnerabilities
@Override public Object intercept(MethodInvocationContext<Object, Object> context) { if (context.hasStereotype(CacheConfig.class)) { ReturnType returnTypeObject = context.getReturnType(); Class returnType = returnTypeObject.getType(); if (CompletionStage.class.isAssignabl...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: intercept File: runtime/src/main/java/io/micronaut/cache/interceptor/CacheInterceptor.java Repository: micronaut-projects/micronaut-core The code follows secure coding practices.
[ "CWE-400" ]
CVE-2022-21700
MEDIUM
5
micronaut-projects/micronaut-core
intercept
runtime/src/main/java/io/micronaut/cache/interceptor/CacheInterceptor.java
b8ec32c311689667c69ae7d9f9c3b3a8abc96fe3
0
Analyze the following code function for security vulnerabilities
@Override public boolean supportsThingType(ThingTypeUID thingTypeUID) { return SUPPORTED_THING_TYPES_UIDS.contains(thingTypeUID); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: supportsThingType File: bundles/org.openhab.binding.exec/src/main/java/org/openhab/binding/exec/internal/ExecHandlerFactory.java Repository: openhab/openhab-addons The code follows secure coding practices.
[ "CWE-863" ]
CVE-2020-5242
HIGH
9.3
openhab/openhab-addons
supportsThingType
bundles/org.openhab.binding.exec/src/main/java/org/openhab/binding/exec/internal/ExecHandlerFactory.java
4c4cb664f2e2c3866aadf117d22fb54aa8dd0031
0
Analyze the following code function for security vulnerabilities
public List<String> getWidgetParticipants(int userId) { if (DEBUG) { Slog.i(TAG, "Getting widget participants for user: " + userId); } HashSet<String> packages = new HashSet<>(); synchronized (mLock) { final int N = mWidgets.size(); ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getWidgetParticipants File: services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java Repository: android The code follows secure coding practices.
[ "CWE-284" ]
CVE-2015-1541
MEDIUM
4.3
android
getWidgetParticipants
services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java
0b98d304c467184602b4c6bce76fda0b0274bc07
0
Analyze the following code function for security vulnerabilities
public @PolyNull BigDecimal toBigDecimal(@PolyNull String s, int scale) throws SQLException { if (s == null) { return null; } BigDecimal val = toBigDecimal(s); return scaleBigDecimal(val, scale); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: toBigDecimal File: pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java Repository: pgjdbc The code follows secure coding practices.
[ "CWE-89" ]
CVE-2022-31197
HIGH
8
pgjdbc
toBigDecimal
pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
739e599d52ad80f8dcd6efedc6157859b1a9d637
0
Analyze the following code function for security vulnerabilities
public int getHttpTimeout(XWikiContext context) { return getConfiguration().getProperty("xwiki.http.timeout", 60000); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getHttpTimeout File: xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java Repository: xwiki/xwiki-platform The code follows secure coding practices.
[ "CWE-863" ]
CVE-2021-32620
MEDIUM
4
xwiki/xwiki-platform
getHttpTimeout
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java
f9a677408ffb06f309be46ef9d8df1915d9099a4
0
Analyze the following code function for security vulnerabilities
@Override public final int startActivityFromRecents(int taskId, Bundle bOptions) { return mActivityTaskManager.startActivityFromRecents(taskId, bOptions); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: startActivityFromRecents File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21292
MEDIUM
5.5
android
startActivityFromRecents
services/core/java/com/android/server/am/ActivityManagerService.java
d10b27e539f7bc91c2360d429b9d05f05274670d
0
Analyze the following code function for security vulnerabilities
static RMQMessage convertJmsMessage(RMQSession session, GetResponse response, ReceivingContextConsumer receivingContextConsumer) throws JMSException { // Deserialize the message payload from the byte[] body RMQMessage message = fromMessage(response.getBody(), session.getTrustedPackages()); mess...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: convertJmsMessage File: src/main/java/com/rabbitmq/jms/client/RMQMessage.java Repository: rabbitmq/rabbitmq-jms-client The code follows secure coding practices.
[ "CWE-502" ]
CVE-2020-36282
HIGH
7.5
rabbitmq/rabbitmq-jms-client
convertJmsMessage
src/main/java/com/rabbitmq/jms/client/RMQMessage.java
f647e5dbfe055a2ca8cbb16dd70f9d50d888b638
0
Analyze the following code function for security vulnerabilities
public static SslUtils getInstance() { return SingletonHolder.instance; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getInstance File: api/src/main/java/org/asynchttpclient/util/SslUtils.java Repository: AsyncHttpClient/async-http-client The code follows secure coding practices.
[ "CWE-345" ]
CVE-2013-7397
MEDIUM
4.3
AsyncHttpClient/async-http-client
getInstance
api/src/main/java/org/asynchttpclient/util/SslUtils.java
df6ed70e86c8fc340ed75563e016c8baa94d7e72
0
Analyze the following code function for security vulnerabilities
public void setUserSearchBase(String userSearchBase) { this.userSearchBase = userSearchBase; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setUserSearchBase File: server-plugin/server-plugin-authenticator-ldap/src/main/java/io/onedev/server/plugin/authenticator/ldap/LdapAuthenticator.java Repository: theonedev/onedev The code follows secure coding practi...
[ "CWE-90" ]
CVE-2021-32651
MEDIUM
4.3
theonedev/onedev
setUserSearchBase
server-plugin/server-plugin-authenticator-ldap/src/main/java/io/onedev/server/plugin/authenticator/ldap/LdapAuthenticator.java
4440f0c57e440488d7e653417b2547eaae8ad19c
0
Analyze the following code function for security vulnerabilities
@Override public boolean isPresent(int nativeHandle) throws RemoteException { TagEndpoint tag = null; // Check if NFC is enabled if (!isNfcEnabled()) { return false; } /* find the tag in the hmap */ tag = (TagEndpoint) fin...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isPresent File: src/com/android/nfc/NfcService.java Repository: android The code follows secure coding practices.
[ "CWE-200" ]
CVE-2016-3761
LOW
2.1
android
isPresent
src/com/android/nfc/NfcService.java
9ea802b5456a36f1115549b645b65c791eff3c2c
0
Analyze the following code function for security vulnerabilities
public void doIconSize( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException { String qs = req.getQueryString(); if(qs==null || !ICON_SIZE.matcher(qs).matches()) throw new ServletException(); Cookie cookie = new Cookie("iconSize", qs); cookie.setMaxA...
Vulnerability Classification: - CWE: CWE-79 - CVE: CVE-2014-2065 - Severity: MEDIUM - CVSS Score: 4.3 Description: [FIXED SECURITY-77] XSS in iconSize cookie. Function: doIconSize File: core/src/main/java/jenkins/model/Jenkins.java Repository: jenkinsci/jenkins Fixed Code: public void doIconSize( StaplerRequest req,...
[ "CWE-79" ]
CVE-2014-2065
MEDIUM
4.3
jenkinsci/jenkins
doIconSize
core/src/main/java/jenkins/model/Jenkins.java
a0b00508eeb74d7033dc4100eb382df4e8fa72e7
1
Analyze the following code function for security vulnerabilities
public static void init(@NonNull ObservablePreferenceFragment host) { host.getLifecycle().addObserver(new SearchMenuController(host)); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: init File: src/com/android/settings/search/actionbar/SearchMenuController.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2018-9501
HIGH
7.2
android
init
src/com/android/settings/search/actionbar/SearchMenuController.java
5e43341b8c7eddce88f79c9a5068362927c05b54
0
Analyze the following code function for security vulnerabilities
@GetMapping(value = "export/{modelId}/{type}") @ApiOperation("导出模型") @Authorize(action = "export") public void export(@PathVariable("modelId") @ApiParam("模型ID") String modelId, @PathVariable("type") @ApiParam(value = "类型", allowableValues = "bpmn,json", example = "json") String type, ...
Vulnerability Classification: - CWE: CWE-79 - CVE: CVE-2018-20594 - Severity: MEDIUM - CVSS Score: 4.3 Description: fix #107 修复反射型xss Function: export File: hsweb-system/hsweb-system-workflow/hsweb-system-workflow-local/src/main/java/org/hswebframework/web/workflow/web/FlowableModelManagerController.java Repository:...
[ "CWE-79" ]
CVE-2018-20594
MEDIUM
4.3
hs-web/hsweb-framework
export
hsweb-system/hsweb-system-workflow/hsweb-system-workflow-local/src/main/java/org/hswebframework/web/workflow/web/FlowableModelManagerController.java
b72a2275ed21240296c6539bae1049c56abb542f
1
Analyze the following code function for security vulnerabilities
void dumpWindowsLocked() { final int numDisplays = mDisplayContents.size(); for (int displayNdx = 0; displayNdx < numDisplays; ++displayNdx) { final DisplayContent displayContent = mDisplayContents.valueAt(displayNdx); Slog.v(TAG, " Display #" + displayContent.getDisplayId()); ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: dumpWindowsLocked File: services/core/java/com/android/server/wm/WindowManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2016-3875
HIGH
7.2
android
dumpWindowsLocked
services/core/java/com/android/server/wm/WindowManagerService.java
69729fa8b13cadbf3173fe1f389fe4f3b7bd0f9c
0
Analyze the following code function for security vulnerabilities
private LdapName toLdapName(String userDomain) throws RepositoryLoginException{ String[] domainComponents = (Strings.isNullOrEmpty(userDomain)) ? new String[0] : userDomain.toLowerCase().split("\\."); ArrayList<Rdn> domainRdns = new ArrayList<Rdn>(domainComponents.length); try { for (St...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: toLdapName File: projects/dctm-core/source/java/com/google/enterprise/connector/dctm/DctmAuthenticationManager.java Repository: AnantLabs/google-enterprise-connector-dctm The code follows secure coding practices.
[ "CWE-89" ]
CVE-2014-125083
MEDIUM
5.2
AnantLabs/google-enterprise-connector-dctm
toLdapName
projects/dctm-core/source/java/com/google/enterprise/connector/dctm/DctmAuthenticationManager.java
6fba04f18ab7764002a1da308e7cd9712b501cb7
0
Analyze the following code function for security vulnerabilities
private void copyJarEntryTrimmingBasePath(JarFile jarFile, ZipEntry jarEntry, String basePath, File outputDirectory) { String fullPath = jarEntry.getName(); String relativePath = fullPath .substring(fullPath.toLowerCase(Locale.ENGLISH) .indexOf(basePat...
Vulnerability Classification: - CWE: CWE-379 - CVE: CVE-2021-31411 - Severity: MEDIUM - CVSS Score: 4.6 Description: Simplify if else, clean exception. Function: copyJarEntryTrimmingBasePath File: flow-server/src/main/java/com/vaadin/flow/server/frontend/JarContentsManager.java Repository: vaadin/flow Fixed Code: pr...
[ "CWE-379" ]
CVE-2021-31411
MEDIUM
4.6
vaadin/flow
copyJarEntryTrimmingBasePath
flow-server/src/main/java/com/vaadin/flow/server/frontend/JarContentsManager.java
82cea56045b8430f7a26f037c01486b1feffa51d
1
Analyze the following code function for security vulnerabilities
public JSONArray getJSONArray(String key) throws JSONException { Object object = this.get(key); if (object instanceof JSONArray) { return (JSONArray) object; } throw wrongValueFormatException(key, "JSONArray", object, null); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getJSONArray File: src/main/java/org/json/JSONObject.java Repository: stleary/JSON-java The code follows secure coding practices.
[ "CWE-770" ]
CVE-2023-5072
HIGH
7.5
stleary/JSON-java
getJSONArray
src/main/java/org/json/JSONObject.java
661114c50dcfd53bb041aab66f14bb91e0a87c8a
0
Analyze the following code function for security vulnerabilities
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest req = (HttpServletRequest) request; if(req.getRequestURI().equals(req.getContextPath()+"/")) { if (needsToCreateFirstUser()) { ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: doFilter File: core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java Repository: jenkinsci/jenkins The code follows secure coding practices.
[ "CWE-200" ]
CVE-2014-2064
MEDIUM
5
jenkinsci/jenkins
doFilter
core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java
fbf96734470caba9364f04e0b77b0bae7293a1ec
0
Analyze the following code function for security vulnerabilities
private static String getNodeTextContents(Node n) { if (n.getNodeType() == Node.TEXT_NODE || n.getNodeType() == Node.CDATA_SECTION_NODE) { Text txtNode = (Text) n; String content = txtNode.getWholeText(); //This concatenates any adjacent text/cdata/entity nodes if (content ==...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getNodeTextContents File: src/main/java/com/dd/plist/XMLPropertyListParser.java Repository: 3breadt/dd-plist The code follows secure coding practices.
[ "CWE-611" ]
CVE-2016-15026
MEDIUM
4.3
3breadt/dd-plist
getNodeTextContents
src/main/java/com/dd/plist/XMLPropertyListParser.java
8c954e8d9f6f6863729e50105a8abf3f87fff74c
0
Analyze the following code function for security vulnerabilities
private void applyCachedPacketFilter() { // If packet filter is supported on both connections, ignore since we would have already // applied the filter. if (mContext.getResources().getBoolean(R.bool.config_wifiEnableApfOnNonPrimarySta)) return; if (mCachedPacketFilter == null) { ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: applyCachedPacketFilter File: service/java/com/android/server/wifi/ClientModeImpl.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21242
CRITICAL
9.8
android
applyCachedPacketFilter
service/java/com/android/server/wifi/ClientModeImpl.java
72e903f258b5040b8f492cf18edd124b5a1ac770
0
Analyze the following code function for security vulnerabilities
public boolean isBouncerShowing() { return mBouncerShowing; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isBouncerShowing File: packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2017-0822
HIGH
7.5
android
isBouncerShowing
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
c574568aaede7f652432deb7707f20ae54bbdf9a
0
Analyze the following code function for security vulnerabilities
static boolean isFilenameValid(Context context, File file) { final File[] whitelist; try { file = file.getCanonicalFile(); whitelist = new File[] { context.getFilesDir().getCanonicalFile(), context.getCacheDir().getCanonicalFile(), ...
Vulnerability Classification: - CWE: CWE-362 - CVE: CVE-2016-0848 - Severity: HIGH - CVSS Score: 7.2 Description: Use resolved path for both checking and opening. This avoids a race condition where someone can change a symlink target after the security checks have passed. Bug: 26211054 Change-Id: I5842aaecc7b7d417a3...
[ "CWE-362" ]
CVE-2016-0848
HIGH
7.2
android
isFilenameValid
src/com/android/providers/downloads/Helpers.java
bdc831357e7a116bc561d51bf2ddc85ff11c01a9
1
Analyze the following code function for security vulnerabilities
@Override public boolean select(final Collection<?> itemIds) throws IllegalArgumentException { return select(itemIds, true); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: select File: server/src/main/java/com/vaadin/ui/Grid.java Repository: vaadin/framework The code follows secure coding practices.
[ "CWE-79" ]
CVE-2019-25028
MEDIUM
4.3
vaadin/framework
select
server/src/main/java/com/vaadin/ui/Grid.java
b9ba10adaa06a0977c531f878c3f0046b67f9cc0
0
Analyze the following code function for security vulnerabilities
@Override public boolean isSlow() { return slow; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isSlow File: activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java Repository: apache/activemq The code follows secure coding practices.
[ "CWE-264" ]
CVE-2014-3576
MEDIUM
5
apache/activemq
isSlow
activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
00921f2
0
Analyze the following code function for security vulnerabilities
private void resetState() { resetSeenObjects(); hasPushbackTC = false; pushbackTC = 0; // nestedLevels = 0; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: resetState File: luni/src/main/java/java/io/ObjectInputStream.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2014-7911
HIGH
7.2
android
resetState
luni/src/main/java/java/io/ObjectInputStream.java
738c833d38d41f8f76eb7e77ab39add82b1ae1e2
0
Analyze the following code function for security vulnerabilities
@Nullable @Override public final String get(CharSequence name) { requireNonNull(name, "name"); final int h = AsciiString.hashCode(name); final int i = index(h); HeaderEntry e = entries[i]; String value = null; // loop until the first header was found while...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: get File: core/src/main/java/com/linecorp/armeria/common/HttpHeadersBase.java Repository: line/armeria The code follows secure coding practices.
[ "CWE-74" ]
CVE-2019-16771
MEDIUM
5
line/armeria
get
core/src/main/java/com/linecorp/armeria/common/HttpHeadersBase.java
b597f7a865a527a84ee3d6937075cfbb4470ed20
0
Analyze the following code function for security vulnerabilities
private void deleteProviderLocked(Provider provider) { int N = provider.widgets.size(); for (int i = N - 1; i >= 0; i--) { Widget widget = provider.widgets.remove(i); // Call back with empty RemoteViews updateAppWidgetInstanceLocked(widget, null, false); /...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: deleteProviderLocked File: services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java Repository: android The code follows secure coding practices.
[ "CWE-284" ]
CVE-2015-1541
MEDIUM
4.3
android
deleteProviderLocked
services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java
0b98d304c467184602b4c6bce76fda0b0274bc07
0
Analyze the following code function for security vulnerabilities
@Override public void updateBatteryStats(ComponentName activity, int uid, int userId, boolean resumed) { ActivityManagerService.this.updateBatteryStats(activity, uid, userId, resumed); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: updateBatteryStats File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21292
MEDIUM
5.5
android
updateBatteryStats
services/core/java/com/android/server/am/ActivityManagerService.java
d10b27e539f7bc91c2360d429b9d05f05274670d
0
Analyze the following code function for security vulnerabilities
@GuardedBy("mPm.mLock") private void commitPackagesLocked(final CommitRequest request) { // TODO: remove any expected failures from this method; this should only be able to fail due // to unavoidable errors (I/O, etc.) for (ReconciledPackage reconciledPkg : request.mReconciledPackages....
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: commitPackagesLocked File: services/core/java/com/android/server/pm/InstallPackageHelper.java Repository: android The code follows secure coding practices.
[ "CWE-862" ]
CVE-2023-21257
HIGH
7.8
android
commitPackagesLocked
services/core/java/com/android/server/pm/InstallPackageHelper.java
1aec7feaf07e6d4568ca75d18158445dbeac10f6
0
Analyze the following code function for security vulnerabilities
@Override public PackageConfigurationUpdater createPackageConfigurationUpdater( String packageName , int userId) { return new PackageConfigurationUpdaterImpl(packageName, userId, ActivityTaskManagerService.this); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: createPackageConfigurationUpdater File: services/core/java/com/android/server/wm/ActivityTaskManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-862" ]
CVE-2023-40094
HIGH
7.8
android
createPackageConfigurationUpdater
services/core/java/com/android/server/wm/ActivityTaskManagerService.java
1120bc7e511710b1b774adf29ba47106292365e7
0
Analyze the following code function for security vulnerabilities
private void ensureMinimumQuality( int userId, ActiveAdmin admin, int minimumQuality, String operation) { mInjector.binderWithCleanCallingIdentity(() -> { // This check will also take care of the case where the password requirements // are specified as complexity rather than ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: ensureMinimumQuality File: services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-20" ]
CVE-2023-21284
MEDIUM
5.5
android
ensureMinimumQuality
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
ed3f25b7222d4cff471f2b7d22d1150348146957
0
Analyze the following code function for security vulnerabilities
public void badRequest(final String explain) { badRequest(new BadRequestException(explain)); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: badRequest File: src/tsd/HttpQuery.java Repository: OpenTSDB/opentsdb The code follows secure coding practices.
[ "CWE-79" ]
CVE-2023-25827
MEDIUM
6.1
OpenTSDB/opentsdb
badRequest
src/tsd/HttpQuery.java
ff02c1e95e60528275f69b31bcbf7b2ac625cea8
0
Analyze the following code function for security vulnerabilities
@Override public KBTemplate findByUuid_C_Last(String uuid, long companyId, OrderByComparator<KBTemplate> orderByComparator) throws NoSuchTemplateException { KBTemplate kbTemplate = fetchByUuid_C_Last(uuid, companyId, orderByComparator); if (kbTemplate != null) { return kbTemplate; } StringBundler ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: findByUuid_C_Last File: modules/apps/knowledge-base/knowledge-base-service/src/main/java/com/liferay/knowledge/base/service/persistence/impl/KBTemplatePersistenceImpl.java Repository: brianchandotcom/liferay-portal Th...
[ "CWE-79" ]
CVE-2017-12647
MEDIUM
4.3
brianchandotcom/liferay-portal
findByUuid_C_Last
modules/apps/knowledge-base/knowledge-base-service/src/main/java/com/liferay/knowledge/base/service/persistence/impl/KBTemplatePersistenceImpl.java
ef93d984be9d4d478a5c4b1ca9a86f4e80174774
0
Analyze the following code function for security vulnerabilities
@Deprecated public void setCrossProfileCalendarPackages(@NonNull ComponentName admin, @Nullable Set<String> packageNames) { throwIfParentInstance("setCrossProfileCalendarPackages"); if (mService != null) { try { mService.setCrossProfileCalendarPackages(admin, ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setCrossProfileCalendarPackages File: core/java/android/app/admin/DevicePolicyManager.java Repository: android The code follows secure coding practices.
[ "CWE-862" ]
CVE-2023-40089
HIGH
7.8
android
setCrossProfileCalendarPackages
core/java/android/app/admin/DevicePolicyManager.java
e2e05f488da6abc765a62e7faf10cb74e729732e
0
Analyze the following code function for security vulnerabilities
public JSONObject putOnce(String key, Object value) throws JSONException { if (key != null && value != null) { if (this.opt(key) != null) { throw new JSONException("Duplicate key \"" + key + "\""); } return this.put(key, value); } return this; ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: putOnce File: src/main/java/org/json/JSONObject.java Repository: stleary/JSON-java The code follows secure coding practices.
[ "CWE-770" ]
CVE-2023-5072
HIGH
7.5
stleary/JSON-java
putOnce
src/main/java/org/json/JSONObject.java
661114c50dcfd53bb041aab66f14bb91e0a87c8a
0
Analyze the following code function for security vulnerabilities
public Entity<?> serialize(Object obj, Map<String, Object> formParams, String contentType, boolean isBodyNullable) throws ApiException { Entity<?> entity; if (contentType.startsWith("multipart/form-data")) { MultiPart multiPart = new MultiPart(); for (Entry<String, Object> param: formParams.entrySet...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: serialize File: samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/main/java/org/openapitools/client/ApiClient.java Repository: OpenAPITools/openapi-generator The code follows secure coding pra...
[ "CWE-668" ]
CVE-2021-21430
LOW
2.1
OpenAPITools/openapi-generator
serialize
samples/openapi3/client/petstore/java/jersey2-java8-special-characters/src/main/java/org/openapitools/client/ApiClient.java
2c576483f26f85b3979c6948a131f585c237109a
0
Analyze the following code function for security vulnerabilities
private void clearProfilerLocked() { if (mProfilerInfo !=null && mProfilerInfo.profileFd != null) { try { mProfilerInfo.profileFd.close(); } catch (IOException e) { } } mProfileApp = null; mProfileProc = null; mProfilerInfo = nu...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: clearProfilerLocked File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-863" ]
CVE-2018-9492
HIGH
7.2
android
clearProfilerLocked
services/core/java/com/android/server/am/ActivityManagerService.java
962fb40991f15be4f688d960aa00073683ebdd20
0
Analyze the following code function for security vulnerabilities
public int getServerSyncId() { return serverSyncId; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getServerSyncId File: flow-server/src/main/java/com/vaadin/flow/component/internal/UIInternals.java Repository: vaadin/flow The code follows secure coding practices.
[ "CWE-200" ]
CVE-2023-25499
MEDIUM
6.5
vaadin/flow
getServerSyncId
flow-server/src/main/java/com/vaadin/flow/component/internal/UIInternals.java
428cc97eaa9c89b1124e39f0089bbb741b6b21cc
0
Analyze the following code function for security vulnerabilities
public float countInterfaceCoverage(List<ApiScenarioWithBLOBs> allScenarioInfoList, List<ApiDefinition> allEffectiveApiList) { if (allEffectiveApiList == null || allEffectiveApiList.isEmpty()) { return 100; } Map<ApiMethodUrlDTO, List<String>> urlMap = new HashMap<>(); for (...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: countInterfaceCoverage File: backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java Repository: metersphere The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2021-45789
MEDIUM
6.5
metersphere
countInterfaceCoverage
backend/src/main/java/io/metersphere/api/service/ApiAutomationService.java
d74e02cdff47cdf7524d305d098db6ffb7f61b47
0
Analyze the following code function for security vulnerabilities
public void setInstaller(Installer installer) { mInstaller = installer; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setInstaller File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-863" ]
CVE-2018-9492
HIGH
7.2
android
setInstaller
services/core/java/com/android/server/am/ActivityManagerService.java
962fb40991f15be4f688d960aa00073683ebdd20
0
Analyze the following code function for security vulnerabilities
@VisibleForTesting public ImeAdapter getImeAdapterForTest() { return mImeAdapter; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getImeAdapterForTest File: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java Repository: chromium The code follows secure coding practices.
[ "CWE-20" ]
CVE-2014-3159
MEDIUM
6.4
chromium
getImeAdapterForTest
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
98a50b76141f0b14f292f49ce376e6554142d5e2
0
Analyze the following code function for security vulnerabilities
public void setWorkingDirectory( String path ) { if ( path != null ) { this.workingDir = path; } }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setWorkingDirectory File: src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java Repository: apache/maven-shared-utils The code follows secure coding practices.
[ "CWE-116" ]
CVE-2022-29599
HIGH
7.5
apache/maven-shared-utils
setWorkingDirectory
src/main/java/org/apache/maven/shared/utils/cli/shell/Shell.java
2735facbbbc2e13546328cb02dbb401b3776eea3
0
Analyze the following code function for security vulnerabilities
@Override public ArrayList<QueryReturnValue> runMultipleQueries( ArrayList<QueryType> queryTypeList, ArrayList<QueryParametersBase> queryParamsList) { int size = queryTypeList == null ? 0 : queryTypeList.size(); log.debug("Server: RunMultipleQuery invoked! [amount of queries:...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: runMultipleQueries File: frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/GenericApiGWTServiceImpl.java Repository: oVirt/ovirt-engine The code follows secure coding practices.
[ "CWE-287" ]
CVE-2024-0822
HIGH
7.5
oVirt/ovirt-engine
runMultipleQueries
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/GenericApiGWTServiceImpl.java
036f617316f6d7077cd213eb613eb4816e33d1fc
0
Analyze the following code function for security vulnerabilities
@Override public void setEmergencyCallsOnly(boolean show) { boolean changed = show != mShowEmergencyCallsOnly; if (changed) { mShowEmergencyCallsOnly = show; if (mExpanded) { updateEverything(); } } }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setEmergencyCallsOnly File: packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2016-3886
HIGH
7.2
android
setEmergencyCallsOnly
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStatusBarHeader.java
6ca6cd5a50311d58a1b7bf8fbef3f9aa29eadcd5
0
Analyze the following code function for security vulnerabilities
public WinstoneOutputStream getWinstoneOutputStream() { return this.outputStream; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getWinstoneOutputStream File: src/java/winstone/WinstoneResponse.java Repository: jenkinsci/winstone The code follows secure coding practices.
[ "CWE-79" ]
CVE-2011-4344
LOW
2.6
jenkinsci/winstone
getWinstoneOutputStream
src/java/winstone/WinstoneResponse.java
410ed3001d51c689cf59085b7417466caa2ded7b
0
Analyze the following code function for security vulnerabilities
private void readForcedDisplayPropertiesLocked(final DisplayContent displayContent) { // Display size. String sizeStr = Settings.Global.getString(mContext.getContentResolver(), Settings.Global.DISPLAY_SIZE_FORCED); if (sizeStr == null || sizeStr.length() == 0) { sizeS...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: readForcedDisplayPropertiesLocked File: services/core/java/com/android/server/wm/WindowManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2016-3875
HIGH
7.2
android
readForcedDisplayPropertiesLocked
services/core/java/com/android/server/wm/WindowManagerService.java
69729fa8b13cadbf3173fe1f389fe4f3b7bd0f9c
0
Analyze the following code function for security vulnerabilities
IBackupAgent bindToAgentSynchronous(ApplicationInfo app, int mode) { IBackupAgent agent = null; synchronized(mAgentConnectLock) { mConnecting = true; mConnectedAgent = null; try { if (mActivityManager.bindBackupAgent(app, mode)) { S...
Vulnerability Classification: - CWE: CWE-264 - CVE: CVE-2016-3832 - Severity: HIGH - CVSS Score: 8.3 Description: Don't trust callers to supply app info to bindBackupAgent() Get the canonical identity and metadata about the package from the Package Manager at time of usage rather than rely on the caller to have gotte...
[ "CWE-264" ]
CVE-2016-3832
HIGH
8.3
android
bindToAgentSynchronous
services/backup/java/com/android/server/backup/BackupManagerService.java
e7cf91a198de995c7440b3b64352effd2e309906
1
Analyze the following code function for security vulnerabilities
public static @Nullable String sanitizeDisplayName(@Nullable String name, boolean rewriteHiddenFileName) { if (name == null) { return null; } else if (rewriteHiddenFileName && name.startsWith(".")) { // The resulting file must not be hidden. return "_" + n...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: sanitizeDisplayName File: src/com/android/providers/media/util/FileUtils.java Repository: android The code follows secure coding practices.
[ "CWE-22" ]
CVE-2023-35670
HIGH
7.8
android
sanitizeDisplayName
src/com/android/providers/media/util/FileUtils.java
db3c69afcb0a45c8aa2f333fcde36217889899fe
0
Analyze the following code function for security vulnerabilities
@Override protected boolean isToolbarEnabled() { return false; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isToolbarEnabled File: src/com/android/settings/password/ChooseLockPattern.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-40117
HIGH
7.8
android
isToolbarEnabled
src/com/android/settings/password/ChooseLockPattern.java
11815817de2f2d70fe842b108356a1bc75d44ffb
0
Analyze the following code function for security vulnerabilities
private void setNewTask(Task taskToAffiliate) { final boolean toTop = !mLaunchTaskBehind && !mAvoidMoveToFront; final Task task = mTargetRootTask.reuseOrCreateTask( mNewTaskInfo != null ? mNewTaskInfo : mStartActivity.info, mNewTaskIntent != null ? mNewTaskIntent : mInten...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setNewTask File: services/core/java/com/android/server/wm/ActivityStarter.java Repository: android The code follows secure coding practices.
[ "CWE-269" ]
CVE-2023-21269
HIGH
7.8
android
setNewTask
services/core/java/com/android/server/wm/ActivityStarter.java
70ec64dc5a2a816d6aa324190a726a85fd749b30
0
Analyze the following code function for security vulnerabilities
public JSONObject rename() { String oldFile = this.get.get("old"); String newFile = this.get.get("new"); String oldExtension = getFileExtension(oldFile); if (!newFile.endsWith(oldExtension)) { this.error("rename file error,[" + oldFile + " to " + newFile + "]"); r...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: rename File: src/main/java/com/jflyfox/modules/filemanager/FileManager.java Repository: jflyfox/jfinal_cms The code follows secure coding practices.
[ "CWE-74" ]
CVE-2021-37262
MEDIUM
5
jflyfox/jfinal_cms
rename
src/main/java/com/jflyfox/modules/filemanager/FileManager.java
e7fd0fe9362464c4d2bd308318eecc89a847b116
0
Analyze the following code function for security vulnerabilities
@Override public String getDatePartFunctionSQL(String part, Column column) { String columnSQL = getColumnSQL(column); return "EXTRACT(" + part + " FROM " + columnSQL + ")"; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getDatePartFunctionSQL File: dashbuilder-backend/dashbuilder-dataset-sql/src/main/java/org/dashbuilder/dataprovider/sql/dialect/DefaultDialect.java Repository: dashbuilder The code follows secure coding practices.
[ "CWE-89" ]
CVE-2016-4999
HIGH
7.5
dashbuilder
getDatePartFunctionSQL
dashbuilder-backend/dashbuilder-dataset-sql/src/main/java/org/dashbuilder/dataprovider/sql/dialect/DefaultDialect.java
8574899e3b6455547b534f570b2330ff772e524b
0
Analyze the following code function for security vulnerabilities
private void dispatchUidsChanged() { int N; synchronized (this) { N = mPendingUidChanges.size(); if (mActiveUidChanges.length < N) { mActiveUidChanges = new UidRecord.ChangeItem[N]; } for (int i=0; i<N; i++) { final UidRecor...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: dispatchUidsChanged File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-200" ]
CVE-2016-2500
MEDIUM
4.3
android
dispatchUidsChanged
services/core/java/com/android/server/am/ActivityManagerService.java
9878bb99b77c3681f0fda116e2964bac26f349c3
0
Analyze the following code function for security vulnerabilities
@TestApi public void setLaunchActivityType(int activityType) { mLaunchActivityType = activityType; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setLaunchActivityType File: core/java/android/app/ActivityOptions.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-20918
CRITICAL
9.8
android
setLaunchActivityType
core/java/android/app/ActivityOptions.java
51051de4eb40bb502db448084a83fd6cbfb7d3cf
0
Analyze the following code function for security vulnerabilities
public void onHostEmulationActivated() { Log.d(TAG, "notifyHostEmulationActivated"); synchronized (mLock) { // Regardless of what happens, if we're having a tap again // activity up, close it Intent intent = new Intent(TapAgainDialog.ACTION_CLOSE); intent....
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: onHostEmulationActivated File: src/com/android/nfc/cardemulation/HostEmulationManager.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-35671
MEDIUM
5.5
android
onHostEmulationActivated
src/com/android/nfc/cardemulation/HostEmulationManager.java
745632835f3d97513a9c2a96e56e1dc06c4e4176
0
Analyze the following code function for security vulnerabilities
public static CountingReader readerFor(Object input, Map<String, Object> headers, String payload, String compressionAlgo) throws IOException { return inputStreamFor(input, headers, payload, compressionAlgo).asReader(); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: readerFor File: core/src/main/java/apoc/util/FileUtils.java Repository: neo4j-contrib/neo4j-apoc-procedures The code follows secure coding practices.
[ "CWE-22" ]
CVE-2022-23532
MEDIUM
6.5
neo4j-contrib/neo4j-apoc-procedures
readerFor
core/src/main/java/apoc/util/FileUtils.java
01e63ed2d187cd2a8aa1d78bf831ef0fdd69b522
0
Analyze the following code function for security vulnerabilities
@Override public void setVolumeTo(String packageName, String opPackageName, int value, int flags) { int pid = Binder.getCallingPid(); int uid = Binder.getCallingUid(); final long token = Binder.clearCallingIdentity(); try { MediaSessionRecord.this....
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setVolumeTo File: services/core/java/com/android/server/media/MediaSessionRecord.java Repository: android The code follows secure coding practices.
[ "CWE-400" ]
CVE-2023-21280
MEDIUM
5.5
android
setVolumeTo
services/core/java/com/android/server/media/MediaSessionRecord.java
06e772e05514af4aa427641784c5eec39a892ed3
0
Analyze the following code function for security vulnerabilities
protected void onAddedToDocumentFragment() { if (firstChild_ != null) { for (final DomNode child : getChildren()) { child.onAddedToDocumentFragment(); } } }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: onAddedToDocumentFragment File: src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java Repository: HtmlUnit/htmlunit The code follows secure coding practices.
[ "CWE-787" ]
CVE-2023-2798
HIGH
7.5
HtmlUnit/htmlunit
onAddedToDocumentFragment
src/main/java/com/gargoylesoftware/htmlunit/html/DomNode.java
940dc7fd
0
Analyze the following code function for security vulnerabilities
protected void setLockScreenAllowRemoteInput(boolean allowLockscreenRemoteInput) { mAllowLockscreenRemoteInput = allowLockscreenRemoteInput; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setLockScreenAllowRemoteInput File: packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2017-0822
HIGH
7.5
android
setLockScreenAllowRemoteInput
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
c574568aaede7f652432deb7707f20ae54bbdf9a
0
Analyze the following code function for security vulnerabilities
public List<Cliente> montaListaClientes(ResultSet rs) throws SQLException{ List<Cliente> listaClientes = new ArrayList(); while (rs.next()) { Cliente cliente = new Cliente(); cliente.setIdCliente(rs.getInt("idcliente")); cliente.setNome(rs.getString("n...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: montaListaClientes File: src/java/br/com/magazine/dao/ClienteDAO.java Repository: evandro-machado/Trabalho-Web2 The code follows secure coding practices.
[ "CWE-89" ]
CVE-2015-10061
MEDIUM
5.2
evandro-machado/Trabalho-Web2
montaListaClientes
src/java/br/com/magazine/dao/ClienteDAO.java
f59ac954625d0a4f6d34f069a2e26686a7a20aeb
0
Analyze the following code function for security vulnerabilities
private void clearThumbnail() { if (mThumbnail == null) { return; } mThumbnail.destroy(); mThumbnail = null; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: clearThumbnail File: services/core/java/com/android/server/wm/ActivityRecord.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21145
HIGH
7.8
android
clearThumbnail
services/core/java/com/android/server/wm/ActivityRecord.java
44aeef1b82ecf21187d4903c9e3666a118bdeaf3
0
Analyze the following code function for security vulnerabilities
@DeprecatedAt("2022-08-31") @Deprecated public Document parseDocument(String input, String sourceName) throws InvalidSyntaxException { MultiSourceReader multiSourceReader = MultiSourceReader.newMultiSourceReader() .string(input, sourceName) .trackData(true) ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: parseDocument File: src/main/java/graphql/parser/Parser.java Repository: graphql-java The code follows secure coding practices.
[ "CWE-770" ]
CVE-2023-28867
HIGH
7.5
graphql-java
parseDocument
src/main/java/graphql/parser/Parser.java
8a1c884c81c0b656db201cfd95881feb0f430a55
0
Analyze the following code function for security vulnerabilities
public static void startWebServer(Connection conn) throws SQLException { startWebServer(conn, false); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: startWebServer File: h2/src/main/org/h2/tools/Server.java Repository: h2database The code follows secure coding practices.
[ "CWE-312" ]
CVE-2022-45868
HIGH
7.8
h2database
startWebServer
h2/src/main/org/h2/tools/Server.java
23ee3d0b973923c135fa01356c8eaed40b895393
0
Analyze the following code function for security vulnerabilities
boolean inSizeCompatMode() { if (mInSizeCompatModeForBounds) { return true; } if (mCompatDisplayInsets == null || !shouldCreateCompatDisplayInsets() // The orientation is different from parent when transforming. || isFixedRotationTransforming()) { ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: inSizeCompatMode File: services/core/java/com/android/server/wm/ActivityRecord.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-21145
HIGH
7.8
android
inSizeCompatMode
services/core/java/com/android/server/wm/ActivityRecord.java
44aeef1b82ecf21187d4903c9e3666a118bdeaf3
0
Analyze the following code function for security vulnerabilities
private static void consultCertificateSecurityException(LaunchException ex) throws LaunchException { if (isCertUnderestimated()) { LOG.error("{} and {} are declared. Ignoring certificate issue", CommandLineOptions.NOSEC.getOption(), ConfigurationConstants.KEY_SECURITY_ITW_IGNORECERTISSUES); ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: consultCertificateSecurityException File: core/src/main/java/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Repository: AdoptOpenJDK/IcedTea-Web The code follows secure coding practices.
[ "CWE-345", "CWE-94", "CWE-22" ]
CVE-2019-10182
MEDIUM
5.8
AdoptOpenJDK/IcedTea-Web
consultCertificateSecurityException
core/src/main/java/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
e0818f521a0711aeec4b913b49b5fc6a52815662
0
Analyze the following code function for security vulnerabilities
void enforceCrossUserPermission(int callingUid, int userId, boolean requireFullPermission, boolean checkShell, String message) { if (userId < 0) { throw new IllegalArgumentException("Invalid userId " + userId); } if (checkShell) { enforceShellRestriction(UserM...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: enforceCrossUserPermission File: services/core/java/com/android/server/pm/PackageManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-119" ]
CVE-2016-2497
HIGH
7.5
android
enforceCrossUserPermission
services/core/java/com/android/server/pm/PackageManagerService.java
a75537b496e9df71c74c1d045ba5569631a16298
0
Analyze the following code function for security vulnerabilities
boolean isGoneForLayout() { final ActivityRecord atoken = mActivityRecord; return mViewVisibility == View.GONE || !mRelayoutCalled // We can't check isVisible here because it will also check the client visibility // for WindowTokens. Even if the client is ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: isGoneForLayout File: services/core/java/com/android/server/wm/WindowState.java Repository: android The code follows secure coding practices.
[ "CWE-Other" ]
CVE-2023-35674
HIGH
7.8
android
isGoneForLayout
services/core/java/com/android/server/wm/WindowState.java
7428962d3b064ce1122809d87af65099d1129c9e
0
Analyze the following code function for security vulnerabilities
private void migrateMergeStrategy16(Element mergeStrategyElement) { if (mergeStrategyElement != null) { mergeStrategyElement.setName("mergeStrategy"); switch (mergeStrategyElement.getText()) { case "ALWAYS_MERGE": mergeStrategyElement.setText("CREATE_MERGE_COMMIT"); break; case "MERGE_IF_NECESSARY...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: migrateMergeStrategy16 File: server-core/src/main/java/io/onedev/server/migration/DataMigrator.java Repository: theonedev/onedev The code follows secure coding practices.
[ "CWE-338" ]
CVE-2023-24828
HIGH
8.8
theonedev/onedev
migrateMergeStrategy16
server-core/src/main/java/io/onedev/server/migration/DataMigrator.java
d67dd9686897fe5e4ab881d749464aa7c06a68e5
0
Analyze the following code function for security vulnerabilities
@VisibleForTesting public void errorSavingKeys() { keyResult = KEY_FAILED; requireDialog().setTitle(R.string.common_error); textView.setText(R.string.end_to_end_encryption_unsuccessful); positiveButton.setText(R.string.end_to_end_encryption_dialog_close); positiveButton.setV...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: errorSavingKeys File: src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.java Repository: nextcloud/android The code follows secure coding practices.
[ "CWE-212" ]
CVE-2021-32658
LOW
2.1
nextcloud/android
errorSavingKeys
src/main/java/com/owncloud/android/ui/dialog/SetupEncryptionDialogFragment.java
355f3c745b464b741b20a3b96597303490c26333
0
Analyze the following code function for security vulnerabilities
public void setWindowManager(WindowManagerService wm) { mWindowManager = wm; mStackSupervisor.setWindowManager(wm); mActivityStarter.setWindowManager(wm); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setWindowManager File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2016-3912
HIGH
9.3
android
setWindowManager
services/core/java/com/android/server/am/ActivityManagerService.java
6c049120c2d749f0c0289d822ec7d0aa692f55c5
0
Analyze the following code function for security vulnerabilities
public int getFrontActivityScreenCompatMode() throws RemoteException;
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getFrontActivityScreenCompatMode File: core/java/android/app/IActivityManager.java Repository: android The code follows secure coding practices.
[ "CWE-264" ]
CVE-2016-3832
HIGH
8.3
android
getFrontActivityScreenCompatMode
core/java/android/app/IActivityManager.java
e7cf91a198de995c7440b3b64352effd2e309906
0
Analyze the following code function for security vulnerabilities
private native void nativePinchEnd(long nativeContentViewCoreImpl, long timeMs);
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: nativePinchEnd File: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java Repository: chromium The code follows secure coding practices.
[ "CWE-20" ]
CVE-2014-3159
MEDIUM
6.4
chromium
nativePinchEnd
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
98a50b76141f0b14f292f49ce376e6554142d5e2
0
Analyze the following code function for security vulnerabilities
@Override public SerializationServiceBuilder setUseNativeByteOrder(boolean useNativeByteOrder) { this.useNativeByteOrder = useNativeByteOrder; return this; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setUseNativeByteOrder File: hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/DefaultSerializationServiceBuilder.java Repository: hazelcast The code follows secure coding practices.
[ "CWE-502" ]
CVE-2016-10750
MEDIUM
6.8
hazelcast
setUseNativeByteOrder
hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/DefaultSerializationServiceBuilder.java
c1c31359a1df953e79a9ca9b6c54b3cdbfef11e9
0
Analyze the following code function for security vulnerabilities
private void execute() throws IOException { final int nplotted = runGnuplot(query, basepath, plot); if (query.hasQueryStringParam("json")) { final HashMap<String, Object> results = new HashMap<String, Object>(); results.put("plotted", nplotted); results.put("points", npoints); ...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: execute File: src/tsd/GraphHandler.java Repository: OpenTSDB/opentsdb The code follows secure coding practices.
[ "CWE-78" ]
CVE-2023-25826
CRITICAL
9.8
OpenTSDB/opentsdb
execute
src/tsd/GraphHandler.java
26be40a5e5b6ce8b0b1e4686c4b0d7911e5d8a25
0
Analyze the following code function for security vulnerabilities
protected String getNullValueCVsSql(String studyId) { return "select sed.oc_oid as definition_oid, cv.oc_oid as crf_version_oid, edc.null_values from study_event_definition sed, event_definition_crf edc, crf_version cv" + " where edc.study_id = " + studyId + " and length(edc....
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getNullValueCVsSql File: core/src/main/java/org/akaza/openclinica/dao/extract/OdmExtractDAO.java Repository: OpenClinica The code follows secure coding practices.
[ "CWE-89" ]
CVE-2022-24831
HIGH
7.5
OpenClinica
getNullValueCVsSql
core/src/main/java/org/akaza/openclinica/dao/extract/OdmExtractDAO.java
b152cc63019230c9973965a98e4386ea5322c18f
0
Analyze the following code function for security vulnerabilities
@Override protected void onActivityResult(int requestCode, int resultCode, Intent intent) { if (DBG) log("onActivityResult request:" + requestCode + " result:" + resultCode); switch (requestCode) { case PIN2_REQUEST_CODE: Bundle extras = (intent != null) ? intent.getExtr...
Vulnerability Classification: - CWE: CWE-Other, CWE-862 - CVE: CVE-2023-35665 - Severity: HIGH - CVSS Score: 7.8 Description: Fixed leak of cross user data in multiple settings. - Any app is allowed to receive GET_CONTENT intent. Using this, an user puts back in the intent an uri with data of another user. - Tele...
[ "CWE-Other", "CWE-862" ]
CVE-2023-35665
HIGH
7.8
android
onActivityResult
src/com/android/phone/settings/fdn/EditFdnContactScreen.java
674039e70e1c5bf29b808899ac80c709acc82290
1
Analyze the following code function for security vulnerabilities
void setCheckedForSetup(boolean checked) { mCheckedForSetup = checked; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: setCheckedForSetup File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-863" ]
CVE-2018-9492
HIGH
7.2
android
setCheckedForSetup
services/core/java/com/android/server/am/ActivityManagerService.java
962fb40991f15be4f688d960aa00073683ebdd20
0
Analyze the following code function for security vulnerabilities
public Material byFolder(String folder) { for (Material material : this) { if ((material instanceof ScmMaterial || material instanceof PluggableSCMMaterial) && Objects.equals(folder, material.getFolder())) { return material; } } return null; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: byFolder File: domain/src/main/java/com/thoughtworks/go/config/materials/Materials.java Repository: gocd The code follows secure coding practices.
[ "CWE-668" ]
CVE-2022-39309
MEDIUM
6.5
gocd
byFolder
domain/src/main/java/com/thoughtworks/go/config/materials/Materials.java
691b479f1310034992da141760e9c5d1f5b60e8a
0
Analyze the following code function for security vulnerabilities
@Override public void initialize() throws InitializationException { ListenerChain chain = new ListenerChain(); setListenerChain(chain); // Construct the listener chain in the right order. Listeners early in the chain are called before listeners // placed later in the chain. ...
Vulnerability Classification: - CWE: CWE-79 - CVE: CVE-2023-32070 - Severity: MEDIUM - CVSS Score: 6.1 Description: XRENDERING-663: Restrict allowed attributes in HTML rendering * Change HTML renderers to only print allowed attributes and elements. * Add prefix to forbidden attributes to preserve them in XWiki syntax...
[ "CWE-79" ]
CVE-2023-32070
MEDIUM
6.1
xwiki/xwiki-rendering
initialize
xwiki-rendering-syntaxes/xwiki-rendering-syntax-xhtml/src/main/java/org/xwiki/rendering/internal/renderer/xhtml/XHTMLRenderer.java
c40e2f5f9482ec6c3e71dbf1fff5ba8a5e44cdc1
1
Analyze the following code function for security vulnerabilities
@Override public Iterable<File> children(File file) { return fileTreeChildren(file); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: children File: android/guava/src/com/google/common/io/Files.java Repository: google/guava The code follows secure coding practices.
[ "CWE-732" ]
CVE-2020-8908
LOW
2.1
google/guava
children
android/guava/src/com/google/common/io/Files.java
fec0dbc4634006a6162cfd4d0d09c962073ddf40
0
Analyze the following code function for security vulnerabilities
private void migrate52(File dataDir, Stack<Integer> versions) { for (File file: dataDir.listFiles()) { if (file.getName().startsWith("PullRequests.xml")) { VersionedXmlDoc dom = VersionedXmlDoc.fromFile(file); for (Element element: dom.getRootElement().elements()) element.addElement("revision").setTe...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: migrate52 File: server-core/src/main/java/io/onedev/server/migration/DataMigrator.java Repository: theonedev/onedev The code follows secure coding practices.
[ "CWE-338" ]
CVE-2023-24828
HIGH
8.8
theonedev/onedev
migrate52
server-core/src/main/java/io/onedev/server/migration/DataMigrator.java
d67dd9686897fe5e4ab881d749464aa7c06a68e5
0
Analyze the following code function for security vulnerabilities
@Override protected void doPost(final HttpServletRequest request, final HttpServletResponse response) throws IOException { final HttpSession session = request.getSession(); final Cookie csrfCookie = CookieUtils.getCookie(request, "csrf"); if (csrfCookie == null || !csrfCookie.getValue().equa...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: doPost File: xmppserver/src/main/java/org/jivesoftware/admin/servlet/SystemCacheDetailsServlet.java Repository: igniterealtime/Openfire The code follows secure coding practices.
[ "CWE-79" ]
CVE-2019-20363
MEDIUM
4.3
igniterealtime/Openfire
doPost
xmppserver/src/main/java/org/jivesoftware/admin/servlet/SystemCacheDetailsServlet.java
b6f758241f3fdd57b48c527a695512f33e26eb74
0
Analyze the following code function for security vulnerabilities
private Restrictor createRestrictor(Configuration pConfig) { String location = pConfig.get(ConfigKey.POLICY_LOCATION); try { Restrictor ret = RestrictorFactory.lookupPolicyRestrictor(location); if (ret != null) { logHandler.info("Using access restrictor " + locati...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: createRestrictor File: agent/jvm/src/main/java/org/jolokia/jvmagent/JolokiaHttpHandler.java Repository: jolokia The code follows secure coding practices.
[ "CWE-352" ]
CVE-2014-0168
MEDIUM
6.8
jolokia
createRestrictor
agent/jvm/src/main/java/org/jolokia/jvmagent/JolokiaHttpHandler.java
2d9b168cfbbf5a6d16fa6e8a5b34503e3dc42364
0
Analyze the following code function for security vulnerabilities
@Override public String toString() { String result = Integer.toString(sourceUserId) + " @ " + uri.toString(); if (prefix) result += " [prefix]"; return result; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: toString File: services/core/java/com/android/server/am/ActivityManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-284" ]
CVE-2015-3833
MEDIUM
4.3
android
toString
services/core/java/com/android/server/am/ActivityManagerService.java
aaa0fee0d7a8da347a0c47cef5249c70efee209e
0
Analyze the following code function for security vulnerabilities
public static File createTempFile() throws IOException { final File file = File.createTempFile("rep", "tmp"); // Make sure the file is deleted when JVM is shutdown at last. file.deleteOnExit(); return file; }
Vulnerability Classification: - CWE: CWE-668 - CVE: CVE-2021-28168 - Severity: LOW - CVSS Score: 2.1 Description: switching to NIO tmp file creation approach Signed-off-by: Maxim Nesen <maxim.nesen@oracle.com> Function: createTempFile File: core-common/src/main/java/org/glassfish/jersey/message/internal/Utils.java R...
[ "CWE-668" ]
CVE-2021-28168
LOW
2.1
eclipse-ee4j/jersey
createTempFile
core-common/src/main/java/org/glassfish/jersey/message/internal/Utils.java
8850535786a93772849eba622ef064d6aca30472
1
Analyze the following code function for security vulnerabilities
@Test public void testCustomPatternWithAnnotations01() throws Exception { final Wrapper input = new Wrapper(Instant.ofEpochMilli(0)); String json = MAPPER.writeValueAsString(input); assertEquals(aposToQuotes("{'value':'1970-01-01T00:00:00Z'}"), json); Wrapper result = MAPPER.rea...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: testCustomPatternWithAnnotations01 File: datetime/src/test/java/com/fasterxml/jackson/datatype/jsr310/TestInstantSerialization.java Repository: FasterXML/jackson-modules-java8 The code follows secure coding practices.
[ "CWE-20" ]
CVE-2018-1000873
MEDIUM
4.3
FasterXML/jackson-modules-java8
testCustomPatternWithAnnotations01
datetime/src/test/java/com/fasterxml/jackson/datatype/jsr310/TestInstantSerialization.java
ba27ce5909dfb49bcaf753ad3e04ecb980010b0b
0
Analyze the following code function for security vulnerabilities
PackageInfo generatePackageInfo(PackageParser.Package p, int flags, int userId) { if (!sUserManager.exists(userId)) return null; final PackageSetting ps = (PackageSetting) p.mExtras; if (ps == null) { return null; } final PermissionsState permissionsState = ps.getPer...
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: generatePackageInfo File: services/core/java/com/android/server/pm/PackageManagerService.java Repository: android The code follows secure coding practices.
[ "CWE-119" ]
CVE-2016-2497
HIGH
7.5
android
generatePackageInfo
services/core/java/com/android/server/pm/PackageManagerService.java
a75537b496e9df71c74c1d045ba5569631a16298
0
Analyze the following code function for security vulnerabilities
private TechAdvance getTechnology(final String name) { final TechnologyFrontier frontier = data.getTechnologyFrontier(); TechAdvance type = frontier.getAdvanceByName(name); if (type == null) { type = frontier.getAdvanceByProperty(name); } return type; }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: getTechnology File: game-core/src/main/java/games/strategy/engine/data/GameParser.java Repository: triplea-game/triplea The code follows secure coding practices.
[ "CWE-611" ]
CVE-2018-1000546
MEDIUM
6.8
triplea-game/triplea
getTechnology
game-core/src/main/java/games/strategy/engine/data/GameParser.java
0f23875a4c6e166218859a63c884995f15c53895
0
Analyze the following code function for security vulnerabilities
private void login(TaskLogger jobLogger) { for (RegistryLogin login: getRegistryLogins()) DockerExecutorUtils.login(newDocker(), login.getRegistryUrl(), login.getUserName(), login.getPassword(), jobLogger); }
No Vulnerability Detected: This code is secure and does not contain known vulnerabilities. Function: login File: server-plugin/server-plugin-executor-serverdocker/src/main/java/io/onedev/server/plugin/executor/serverdocker/ServerDockerExecutor.java Repository: theonedev/onedev The code follows secure coding practices...
[ "CWE-610" ]
CVE-2022-39206
CRITICAL
9.9
theonedev/onedev
login
server-plugin/server-plugin-executor-serverdocker/src/main/java/io/onedev/server/plugin/executor/serverdocker/ServerDockerExecutor.java
0052047a5b5095ac6a6b4a73a522d0272fec3a22
0