Note:
-
This capability is in open beta.
-
This capability is disabled by default. Reach out to your CSM at Mend.io to enable it.
This article covers Scala support and vulnerability detection for Mend SAST.
Mend SAST-supported Scala file types
|
File Type |
|---|
|
.scala |
|
.sc |
Mend SAST-supported Scala frameworks
|
Framework |
|---|
|
Java NIO |
|
Scala standard library |
|
fs2 |
|
better-files |
|
sttp/Tapir |
|
OS-Lib |
|
Ammonite |
|
ZIO |
|
Apache Commons Exec |
|
eu.monniot scala-process library |
|
de.halcony process library |
|
Java Servlet API |
|
Spring Framework |
|
http4s |
|
Play Framework |
|
Cask |
|
Apache Pekko HTTP |
|
Twitter Finagle/Finatra |
|
OWASP Java HTML Sanitizer |
|
ScalikeJDBC |
|
Anorm |
|
Sql2o |
|
Doobie |
|
Slick |
|
Skunk |
|
Hibernate |
|
Apache Spark SQL |
|
UnboundID LDAP SDK |
|
JNDI |
|
Apache Directory API |
|
Spring LDAP |
|
pt.tecnico akka-ldap |
|
Scala reflection/compiler API |
|
MVEL |
|
Java Scripting API |
|
Groovy |
|
Java EL |
|
sbt Eval utility |
|
Redis clients (Jedis, Lettuce) |
|
Java RMI |
|
gRPC |
|
Apache Kafka client |
|
Play Framework DB pool |
|
ZIO JDBC |
|
jose4j |
|
Auth0 java-jwt |
|
Apache HttpClient |
|
OkHttp |
|
Netty |
|
AsyncHttpClient |
|
Akka HTTP |
|
RabbitMQ client |
|
Typesafe/Lightbend config |
|
Nimbus JOSE+JWT |
|
pdi.jwt (jwt-scala) |
|
authentikat-jwt |
|
TSec |
|
http4s-jwt-auth |
|
Play-Silhouette |
|
Bobcats |
|
scalacrypt |
|
Bouncy Castle |
|
Apache Commons Codec |
|
Guava |
|
Lift Framework |
|
pt.kcry |
|
Hasher |
|
Apache Commons Lang3 |
|
cats-effect |
|
Akka |
|
Apache Pekko actors |
|
ClassGraph |
|
Objenesis |
|
Jackson |
|
SnakeYAML |
|
Kryo |
|
XStream |
|
Google Protocol Buffers |
|
Apache Avro |
|
Akka serialization |
|
BooPickle |
|
Scalatra |
|
Jakarta Servlet |
|
JAX-RS |
|
dom4j |
|
SAX |
|
akka-http-session |
|
fs2-data |
|
kantan.xpath |
|
scales.xml |
|
jjwt |
|
sttp |
|
ZIO HTTP |
|
scalaj-http |
|
MongoDB Scala/Java driver |
|
ReactiveMongo |
|
DataStax Cassandra driver |
|
AWS SDK DynamoDB |
|
Quill |
|
elastic4s |
|
Neo4j |
|
Neotypes |
|
Couchbase |
|
Play JSON |
Mend SAST-supported Scala vulnerability types
Mend SAST detects multiple vulnerability types in Scala code. The Low Probability Impact column documents additional low probability sources, sanitizers, skipped sanitizers, and sinks where applicable.
High severity
|
CWE |
Vulnerability Type |
Low Probability Impact |
|---|---|---|
|
CWE-22 |
Path Traversal |
|
|
CWE-78 |
Command Injection |
|
|
CWE-79 |
Cross-Site Scripting (XSS) |
|
|
CWE-88 |
Argument Injection |
|
|
CWE-89 |
SQL Injection |
|
|
CWE-94 |
Code Injection |
|
|
CWE-287 |
Improper Authentication (JWT none-algorithm acceptance) |
|
|
CWE-502 |
Deserialization of Untrusted Data |
|
|
CWE-639 |
IDOR |
|
|
CWE-643 |
XPath Injection |
|
|
CWE-918 |
Server-Side Request Forgery (SSRF) |
|
|
CWE-943 |
NoSQL Injection |
|
Medium severity
|
CWE |
Vulnerability Type |
Low Probability Impact |
|---|---|---|
|
CWE-90 |
LDAP Injection |
|
|
CWE-99 |
Resource Injection |
|
|
CWE-295 |
Improper Certificate Validation |
|
|
CWE-321 |
Hard-Coded Cryptographic Key |
|
|
CWE-327 |
Weak Crypto |
|
|
CWE-338 |
Weak Random |
|
|
CWE-347 |
Improper Signature Verification (JWT signature skipped) |
|
|
CWE-400 |
Sleep DoS |
|
|
CWE-470 |
Unsafe Reflection |
|
|
CWE-611 |
XML External Entity (XXE) |
|
|
CWE-798 |
Hard-Coded Credentials |
|
Low severity
|
CWE |
Vulnerability Type |
Low Probability Impact |
|---|---|---|
|
CWE-328 |
Weak Hash |
|
|
CWE-601 |
Open Redirect |
|
|
CWE-614 |
Sensitive Cookie Without Secure Attribute |
|
|
CWE-1004 |
Insecure Cookie (Without HttpOnly) |
|
|
CWE-1333 |
Regular Expression Denial of Service (ReDoS) |
|