Onedev v7.4.14 contains a path traversal vulnerability which allows attackers to access restricted files and directories via uploading a crafted JAR file into the directory /opt/onedev/lib.
[
{
"signature_type": "Line",
"source": "https://github.com/theonedev/onedev/commit/5b6a19c1f7fe9c271acc4268bcd261a9a1cbb3ea",
"id": "CVE-2022-38301-3d5bd7b4",
"digest": {
"threshold": 0.9,
"line_hashes": [
"4036227750556757366120761807082145549",
"305698129507790020253344111724872772412",
"34509763288776831075644514587202674008",
"155119148364517084043872745809425524862",
"50924947957388579806394684274965678037",
"51518771575055314723665270157897244644",
"59819419787753412295939807534496680186",
"36096575643980803387583992595361157911",
"77093601192921479529764579062607497478",
"103037741055751942162271770260622109027",
"303602790597743434251549607990827997878",
"27567720287210393804991368456743407285",
"94017763287492234399474616791964158241",
"63722236757304590260948337195796145966",
"338832180393674099017637947821386179296",
"301842965136991249789440145145354697581",
"284760896566476776962003675892705114810",
"235851899330256412458003421246585414762",
"220884027888050459794073188008898298494",
"158962672578729372529708767969367409584",
"300295138110062516553005415241176174620",
"289340667318224645059193734497748045190",
"239521654543551591401606617941544314959",
"334894816632291200140279345832675423719"
]
},
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/builds/detail/artifacts/ArtifactUploadPanel.java"
},
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://github.com/theonedev/onedev/commit/5b6a19c1f7fe9c271acc4268bcd261a9a1cbb3ea",
"id": "CVE-2022-38301-3eeb628b",
"digest": {
"function_hash": "331617100111680005749968197275252836865",
"length": 781.0
},
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/builds/detail/artifacts/ArtifactUploadPanel.java",
"function": "onSubmit"
},
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"source": "https://github.com/theonedev/onedev/commit/5b6a19c1f7fe9c271acc4268bcd261a9a1cbb3ea",
"id": "CVE-2022-38301-be8d8582",
"digest": {
"function_hash": "93218656044981128505280301158802397492",
"length": 1980.0
},
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/builds/detail/artifacts/ArtifactUploadPanel.java",
"function": "onInitialize"
},
"deprecated": false,
"signature_version": "v1"
}
]