datakk2025 opened a new issue, #707:
URL: https://github.com/apache/doris-flink-connector/issues/707

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   The standalone `doris-regression` module pins `com.alibaba:fastjson:1.2.83`, 
which is
   affected by CVE-2026-16723 (CWE-502, CVSS 9.8, affects fastjson 1.2.68 – 
1.2.83; fixed in 1.2.84).
   SCA scanners flag this dependency as critical, so it would be good to 
upgrade or remove it.
   
   - Dependency: `doris-regression/pom.xml` 
(`<fastjson.version>1.2.83</fastjson.version>`)
   - Only usage: 
`doris-regression/src/main/java/org/apache/doris/DatabaseFullSync.java`
     (`JSON.parseObject(row)` / `getJSONObject` / `getString`)
   - Advisory: 
https://github.com/alibaba/fastjson2/wiki/Security-Advisory:-Remote-Code-Execution-in-fastjson-1.2.68%E2%80%931.2.83
   
   ### Solution
   
   Any of the following, in order of preference:
   
   1. Migrate to `com.alibaba.fastjson2:fastjson2:2.0.65` (>= 2.0.63). Only two 
imports in
      `DatabaseFullSync.java` need to change (`com.alibaba.fastjson` -> 
`com.alibaba.fastjson2`);
      the `JSON.parseObject`, `getJSONObject` and `getString` calls have the 
same signatures.
   2. Drop fastjson entirely and use Jackson, which is already on the Flink 
classpath.
   3. Minimal bump to `fastjson:1.2.84` (still on the 1.x line, which many 
scanners keep flagging).
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to