<org.bouncycastle.pqc.crypto.xmss.XMSSMTPrivateKeyParameters: byte[] toByteArray()>
at <org.bouncycastle.pqc.jcajce.provider.xmss.BCXMSSMTPrivateKey: boolean equals(java.lang.Object)> (org.bouncycastle.pqc.jcajce.provider.xmss.BCXMSSMTPrivateKey.java:[-1]) in /.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
at <org.bouncycastle.asn1.util.ASN1Dump: void _dumpAsString(java.lang.String,boolean,org.bouncycastle.asn1.ASN1Primitive,java.lang.StringBuffer)> (org.bouncycastle.asn1.util.ASN1Dump.java:[-1]) in /.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
at <org.bouncycastle.asn1.util.ASN1Dump: java.lang.String dumpAsString(java.lang.Object,boolean)> (org.bouncycastle.asn1.util.ASN1Dump.java:[-1]) in /.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
at <org.bouncycastle.asn1.util.ASN1Dump: java.lang.String dumpAsString(java.lang.Object)> (org.bouncycastle.asn1.util.ASN1Dump.java:[-1]) in /.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
at <org.bouncycastle.jce.provider.X509CRLObject: java.lang.String toString()> (org.bouncycastle.jce.provider.X509CRLObject.java:[-1]) in /.m2/repository/org/bouncycastle/bcprov-jdk15on/1.59/bcprov-jdk15on-1.59.jar
at <com.github.binarywang.wxpay.util.SignUtils: java.util.Map xmlBean2Map(java.lang.Object)> (com.github.binarywang.wxpay.util.SignUtils.java:[161, 158]) in /.m2/repository/com/github/binarywang/weixin-java-pay/3.3.0/weixin-java-pay-3.3.0.jar
at <com.github.binarywang.wxpay.util.SignUtils: java.lang.String createSign(java.lang.Object,java.lang.String,java.lang.String,java.lang.String[])> (com.github.binarywang.wxpay.util.SignUtils.java:[68]) in /.m2/repository/com/github/binarywang/weixin-java-pay/3.3.0/weixin-java-pay-3.3.0.jar
at <com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl: java.lang.Object createOrder(com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest)> (com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.java:[371]) in /.m2/repository/com/github/binarywang/weixin-java-pay/3.3.0/weixin-java-pay-3.3.0.jar
at <org.linlinjava.litemall.wx.service.WxOrderService: java.lang.Object prepay(java.lang.Integer,java.lang.String,javax.servlet.http.HttpServletRequest)> (org.linlinjava.litemall.wx.service.WxOrderService.java:[601]) in /detect/unzip/litemall-1.8.0/litemall-wx-api/target/classes
Hi, In litemall/litemall-wx-api,there is a dependency org.bouncycastle:bcprov-jdk15on:1.59 that calls the risk method.
CVE-2018-1000613
The scope of this CVE affected version is [1.57,1.60)
After further analysis, in this project, the main Api called is <org.bouncycastle.pqc.crypto.xmss.XMSSMTPrivateKeyParameters: byte[] toByteArray()>
Risk method repair link : GitHub
CVE Bug Invocation Path--
Path Length : 10
Dependency tree--
Suggested solutions:
Update dependency version
Thank you very much.