You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -227,29 +227,38 @@ Retry Pattern allows to retry sending a failed request and it will only work wit
227
227
- Config parameter for this property is 'retryInterval' in `cybs.property` file. The default value for 'retryInterval' parameter is 1000 which means a delay of 1000 milliSeconds.
228
228
229
229
## Third Party jars
230
-
1. org.apache.ws.security.wss4j:1.6.19
231
-
The Apache WSS4J project provides a Java implementation of the primary security standards for Web Services, namely the OASIS Web Services Security (WS-Security) specifications from the OASIS Web Services Security TC.
The Apache WSS4J project provides a Java implementation of the common primary security standards for Web Services, namely the OASIS Web Services Security (WS-Security) specifications from the OASIS Web Services Security TC.
232
+
2. org.apache.wss4j:wss4j-ws-security-dom:2.4.1
233
+
WSS4J 2.0.0 introduces a streaming (StAX-based) WS-Security implementation to complement the existing DOM-based implementation. The DOM-based implementation is quite performant and flexible, but suffers from having to read the entire XML tree into memory. For large SOAP requests this can have a detrimental impact on performance. In addition, for web services stacks such as Apache CXF which are streaming-based, it carries an additional performance penalty of having to explicitly convert the request stream to a DOM Element.
234
+
3. org.bouncycastle:bcprov-jdk15on:1.70
233
235
This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8.
234
-
3. org.apache.santuario:xmlsec:1.5.6
236
+
4. org.apache.santuario:xmlsec:2.3.0
235
237
The XML Security project is aimed at providing implementation of security standards for XML,supports XML-Signature Syntax and Processing,XML Encryption Syntax and Processing, and supports XML Digital Signature APIs.
236
-
4. org.apache.commons:commons-lang3:3.4
238
+
5. org.apache.commons:commons-lang3:3.4
237
239
Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
238
-
5. commons-logging:commons-logging:jar:1.1.1
240
+
6. commons-logging:commons-logging:jar:1.1.1
239
241
This is getting downloaded as compile time dependency of wss4j:1.6.19.Apache Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems.
240
-
6. org.slf4j:slf4j-api:1.7.21 and org.slf4j:slf4j-jcl:1.7.21
242
+
7. org.slf4j:slf4j-api:1.7.32 and org.slf4j:slf4j-jcl:1.7.32
241
243
slf4j-api is getting used as a dependency for wss4j. Modified to latest version.
242
-
7. junit:junit:4.13.1
244
+
8. junit:junit:4.13.1
243
245
JUnit is a unit testing framework for Java.
244
-
8. org.mockito:mockito-all:1.10.19
246
+
9. org.mockito:mockito-all:1.10.19
245
247
Mock objects library for java
246
-
9. org.apache.httpcomponents:httpclient:4.5.13
248
+
10. org.apache.httpcomponents:httpclient:4.5.13
247
249
Provides reusable components for client-side authentication, HTTP state management, and HTTP connection management. It is used for poolinghttpclientconnectionmanager feature.
248
-
10. org.apache.httpcomponents:httpcore:4.4.13
250
+
11. org.apache.httpcomponents:httpcore:4.4.13
249
251
Provides low level HTTP transport components that can be used to build custom client and server side HTTP services with a minimal footprint.
250
252
251
253
## Changes
252
254
_______________________________
255
+
Version Cybersource-sdk-java 6.2.12 (JUNE,2022)
256
+
_______________________________
257
+
1) Mitigation of Apache WSS4j Security Vulnerability (CVE-2016-1000343, CVE-2018-1000180).
258
+
i) Updated Apache wss4j version from 1.6.19 to 2.4.1
259
+
ii) Updated dependent libraries version. (xmlsec from 1.5.6 to 2.3.0, bcprov-jdk15on from 1.61 to 1.70)
//System.out.println("SecurityUtil.createSignedDoc time taken to sign the request is " + TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime) + " ms");
// System.out.println("SecurityUtil.createSignedDoc time taken to sign the request is " + TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime) + " ms");
278
282
returndocument;
279
283
} catch (WSSecurityExceptione) {
280
284
logger.log(Logger.LT_EXCEPTION, "Failed while signing request for , '" + keyAlias + "'");
0 commit comments