Comments (3)
Code snippet of javassist.bytecode.ConstPool.addUtf8Info in javassist:javassist:3.12.0.GA (shadowed but expected to invoke method):
public int addUtf8Info(String utf8) { //line 899
Utf8Info info = (Utf8Info)strings.get(utf8);
if (info != null)
return info.index;
else {
info = new Utf8Info(utf8, numOfItems);
strings.put(utf8, info);
return addItem(info);
}
}
Code snippet of javassist.bytecode.ConstPool.addUtf8Info in org.javassist:javassist:3.18.2-GA (loaded version):
public int addUtf8Info(String utf8) { //line 1066
return addItem(new Utf8Info(utf8, numOfItems));
}
As a result, these conflicting method included in javassist:javassist:3.12.0.GA deals with different cases, which changes the control flows and data flows. So being forced to use these methods in org.javassist:javassist:3.18.2-GA may lead to inconsisitent semantic behaviors.
from fastjsonexploit.
Using the following test case to run on these two versions of methods separately starting from the entry method gadget.getBasicDataSource1ExpCode() in your project, then we can find the return value of getBasicDataSource1ExpCode() is changed.
Please check whether the changes of this variable value will affect your semantic behaviors.
from fastjsonexploit.
@HelloCoCooo Yes, I will refer to it!
from fastjsonexploit.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastjsonexploit.