generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning submodules and rename engineering package #72
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,12 +35,12 @@ POSSIBILITY OF SUCH DAMAGE. | |
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>gov.nasa.pds</groupId> | ||
<artifactId>api-search-query-lexer</artifactId> | ||
<artifactId>registry-api-lexer</artifactId> | ||
<version>1.1.0-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
|
||
<name>PDS API Search Query Lexer</name> | ||
<description>Lexer for PDS API Search queries</description> | ||
<name>${project.groupId}:${project.artifactId}</name> | ||
<description>PDS Registry API Search Query Lexer</description> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
@@ -169,11 +169,5 @@ POSSIBILITY OF SUCH DAMAGE. | |
</plugins> | ||
</build> | ||
|
||
<scm> | ||
<url>https://github.com/NASA-PDS/api-search-query-lexer/tree/master</url> | ||
<connection>scm:git:git://github.com/NASA-PDS/api-search-query-lexer.git</connection> | ||
<developerConnection>scm:git:[email protected]:NASA-PDS/api-search-query-lexer.git</developerConnection> | ||
<tag>v1.0.0</tag> | ||
</scm> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,10 +33,10 @@ | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>gov.nasa.pds</groupId> | ||
<artifactId>api</artifactId> | ||
<artifactId>registry-api-model</artifactId> | ||
<version>0.5.0-SNAPSHOT</version> | ||
<name>gov.nasa.api.lib</name> | ||
<description>client and server stubs for the PDS federated API</description> | ||
<name>${project.groupId}:${project.artifactId}</name> | ||
<description>PDS Registry API Controllers and Reponses Models</description> | ||
<properties> | ||
<maven.compiler.target>11</maven.compiler.target> | ||
<maven.compiler.source>11</maven.compiler.source> | ||
|
@@ -74,33 +74,18 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<!-- | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>generate-sources</phase> | ||
<goals><goal>add-source</goal></goals> | ||
<configuration> | ||
<sources> | ||
<source>${project.build.directory}/api/target/generated-sources/swagger/src/gen/java/main</source> | ||
</sources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
--> | ||
</plugins> | ||
</build> | ||
|
||
|
@@ -272,10 +257,4 @@ | |
</repository> | ||
</repositories> | ||
|
||
|
||
<scm> | ||
<url>https://github.com/NASA-PDS/pds-api-javalib</url> | ||
<connection>scm:git:ssh://[email protected]/NASA-PDS/pds-api-javalib.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/NASA-PDS/pds-api-javalib.git</developerConnection> | ||
</scm> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../pds/api/engineering/SystemConstants.java → ...asa/pds/api/registry/SystemConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package gov.nasa.pds.api.engineering; | ||
package gov.nasa.pds.api.registry; | ||
|
||
public class SystemConstants { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ering/configuration/AWSSecretsAccess.java → ...istry/configuration/AWSSecretsAccess.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...neering/configuration/HomeController.java → ...egistry/configuration/HomeController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...g/controllers/MyBundlesApiController.java → ...y/controllers/MyBundlesApiController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical OSS Vulnerability:
pkg:maven/gov.nasa.pds/[email protected]
4 Critical, 0 Severe, 2 Moderate, 0 Unknown vulnerabilities have been found across 2 dependencies
Components
pkg:maven/log4j/[email protected]
CRITICAL Vulnerabilities (2)
CVE-2019-17571
CVE-2021-4104
===================================================
The following information is provided by Sonatype Nexus Intelligence. Nexus Intelligence is the only security research service that performs "secondary expansion" to determine if newly discovered vulnerabilities are also present in other components.
Learn more about Nexus Intelligence -- https://www.sonatype.com/products/intelligence
Explanation
The
log4j:log4j
package is vulnerable to Deserialization of Untrusted Data. Thelookup()
andactivateOptions()
methods in theJMSAppender
class allowJNDI
lookup requests to be made when theTopicBindingName
andTopicConnectionFactoryBindingName
specify a trusted host. Lookups made to this host may be used by attackers to request a serialized malicious Java Object that can be deserialized and executed, leading to Remote Code Execution (RCE).Note that this vulnerability is different from CVE-2021-44228 and requires the attacker to be in control of the third party host that is specified in the configuration, or write access to the Log4j configuration file in order to specify a malicious lookup host directly. This vulnerability also only affects the 1.x.x component of
Log4j
released under thelog4j:log4j
group and artifact IDs.Advisory Deviation Notice: The Sonatype security research team discovered that the root cause of the vulnerability is in all versions of log4j:log4j, not just in the 1.2.x branch as the advisory states.
Detection
The application is vulnerable by using this component under the following circumstances:
JNDI
lookup host for theJMSAppender
javax.jms.*
API is included in the application'sCLASSPATH
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2031667#c28
Recommendation
The 1.x.x component has reach
End of Life
, and users should upgrade to a non-vulnerable version oforg.apache.logging.log4j:log4j-core
as this component includes other security vulnerabilities that are not fixed.References:
MODERATE Vulnerabilities (1)
pkg:maven/log4j/[email protected]
CRITICAL Vulnerabilities (2)
CVE-2019-17571
CVE-2021-4104
===================================================
The following information is provided by Sonatype Nexus Intelligence. Nexus Intelligence is the only security research service that performs "secondary expansion" to determine if newly discovered vulnerabilities are also present in other components.
Learn more about Nexus Intelligence -- https://www.sonatype.com/products/intelligence
Explanation
The
log4j:log4j
package is vulnerable to Deserialization of Untrusted Data. Thelookup()
andactivateOptions()
methods in theJMSAppender
class allowJNDI
lookup requests to be made when theTopicBindingName
andTopicConnectionFactoryBindingName
specify a trusted host. Lookups made to this host may be used by attackers to request a serialized malicious Java Object that can be deserialized and executed, leading to Remote Code Execution (RCE).Note that this vulnerability is different from CVE-2021-44228 and requires the attacker to be in control of the third party host that is specified in the configuration, or write access to the Log4j configuration file in order to specify a malicious lookup host directly. This vulnerability also only affects the 1.x.x component of
Log4j
released under thelog4j:log4j
group and artifact IDs.Advisory Deviation Notice: The Sonatype security research team discovered that the root cause of the vulnerability is in all versions of log4j:log4j, not just in the 1.2.x branch as the advisory states.
Detection
The application is vulnerable by using this component under the following circumstances:
JNDI
lookup host for theJMSAppender
javax.jms.*
API is included in the application'sCLASSPATH
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2031667#c28
Recommendation
The 1.x.x component has reach
End of Life
, and users should upgrade to a non-vulnerable version oforg.apache.logging.log4j:log4j-core
as this component includes other security vulnerabilities that are not fixed.References:
MODERATE Vulnerabilities (1)