OneDev is a Git server with CI/CD, kanban, and packages. A vulnerability in versions prior to 11.0.9 allows unauthenticated users to read arbitrary files accessible by the OneDev server process. This issue has been fixed in version 11.0.9.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45309.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-200"
]
}{
"cpe": "cpe:2.3:a:onedev_project:onedev:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "11.0.9"
}
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"17091801927467545384306456525193501529",
"2541635229163854035444637766605149349",
"291075047241802231490866025179967174459",
"139104403493272573601974535604163061516",
"166772321430861631005463722869570277612"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/builds/detail/report/BuildReportPage.java"
},
"id": "CVE-2024-45309-01b08e8c",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"289171130462313555727560227688037383079",
"192059357820091802583552965992015499280",
"73102332366576608866873224018146845861",
"334417452817048479684662610576723007098",
"60222035346619250085230164163515481451",
"32719433910119696107228462809277574675",
"7712028294486113002327954263620299389",
"317192651729026646267714242607305930006"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/blob/ProjectBlobPage.java"
},
"id": "CVE-2024-45309-0bc478a1",
"deprecated": false
},
{
"digest": {
"length": 110.0,
"function_hash": "57023525199919084228826013778481185342"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "BuildReportPage",
"file": "server-core/src/main/java/io/onedev/server/web/page/project/builds/detail/report/BuildReportPage.java"
},
"id": "CVE-2024-45309-0e1a500c",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116151797399456233086216343259523920990",
"8490874399407575342932558364225150724",
"282421150575879856453582398144018322234",
"97609740887463135121111910957392500105",
"241631699806302386946645033202559783377",
"263844033473881126648947047932055533183",
"102735351307148156438054278943356739233",
"228436823994691611275383680905817266253",
"73267013825614844277797330844891889807",
"187151106564958971392548310590367241655",
"336694034131629942235733108973194152725",
"151002385854834560651347031634672496307",
"92504879292783330536140549310083191428",
"244712307391152333045783938270026161370",
"266083016417022382204295511213560885947"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/resource/SiteFileResource.java"
},
"id": "CVE-2024-45309-0f07cbfe",
"deprecated": false
},
{
"digest": {
"length": 2278.0,
"function_hash": "19620118711999719594131323105265677088"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "newResourceResponse",
"file": "server-plugin/server-plugin-report-markdown/src/main/java/io/onedev/server/plugin/report/markdown/MarkdownReportDownloadResource.java"
},
"id": "CVE-2024-45309-1cf18afb",
"deprecated": false
},
{
"digest": {
"length": 843.0,
"function_hash": "262912815380965936114781903607253147883"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "onInitialize",
"file": "server-plugin/server-plugin-report-html/src/main/java/io/onedev/server/plugin/report/html/HtmlReportPage.java"
},
"id": "CVE-2024-45309-2a7ae0e3",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"50580923492980019222591269545219114412",
"248006118170568380042916640522853771097",
"261063069499420970708124407792893440335",
"318545720795432891426571063229688797634",
"296475819302433717034067244716162068033",
"298715911139770158475629635119867667998",
"143666891076980810016403805188494874522",
"165948527871905058453093944087471691510",
"313726163654426510774014820900982753851"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-plugin/server-plugin-report-markdown/src/main/java/io/onedev/server/plugin/report/markdown/MarkdownReportPage.java"
},
"id": "CVE-2024-45309-2dec4e9d",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"173522374391769316548645308014842346744",
"66889739458291965070922399662384918711",
"284796458395666015448895736455649843117",
"63650919580486882965091522996946705617",
"292225263410971582791395882045109606373",
"172005852200173054207895685883499392145",
"113032881452011302104275797113017566079",
"119792368840432735030451705189751244513",
"315267188380104404230757159645452506743",
"271988027964159941973690994894884101195",
"48047142858759354460198979813107426282",
"200668483486979397619454456998069797816"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/page/project/commits/CommitDetailPage.java"
},
"id": "CVE-2024-45309-3a174a71",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"105122656827255158592258863599709865475",
"145293258974630139118384842369403105815",
"52603330438202111829384619248118996042",
"56710568985355727879817625380582362034",
"75390997116892666099292436930236173970",
"4894255107594914157106151864310115688",
"58520932644405994137896761319713017757",
"67619690202409540051184514761650964957"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-plugin/server-plugin-report-markdown/src/main/java/io/onedev/server/plugin/report/markdown/MarkdownReportDownloadResource.java"
},
"id": "CVE-2024-45309-5c04114a",
"deprecated": false
},
{
"digest": {
"length": 1614.0,
"function_hash": "121357005763086903392268426707655956638"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "newResourceResponse",
"file": "server-plugin/server-plugin-report-html/src/main/java/io/onedev/server/plugin/report/html/HtmlReportDownloadResource.java"
},
"id": "CVE-2024-45309-7d1364b3",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"155828495288177133946721131541347677745",
"223804347946140429036630272222445455487",
"16167384308687402923813154705467349692",
"333996704505710739034496043243255305418",
"26175299186877468873977102947017320701",
"14392235311599850816268324465250745649",
"151711310309686530521956421923863911531",
"118905472191421775835145611762369796146",
"139104403493272573601974535604163061516",
"264370829900360101885204627882117809030",
"186940702771926130154612999160321713257",
"36632392257884667171146124509847470074",
"241970994203061461815243539659641026964",
"84020573748494035703310240327436114806",
"87300764434876137961114032778527420145",
"73795715605369797055486256119423713066",
"60329084954036338401628925871527281771",
"160187111217683822411511211474288829080",
"222299004953502186618026140802943385015"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-plugin/server-plugin-report-html/src/main/java/io/onedev/server/plugin/report/html/HtmlReportPage.java"
},
"id": "CVE-2024-45309-96fa0bd2",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"182819112034086036345804507849357263078",
"282421150575879856453582398144018322234",
"171451324164341670694386531744819125000",
"32719433910119696107228462809277574675",
"7712028294486113002327954263620299389",
"317192651729026646267714242607305930006"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/resource/RawBlobResource.java"
},
"id": "CVE-2024-45309-99268d38",
"deprecated": false
},
{
"digest": {
"length": 110.0,
"function_hash": "57023525199919084228826013778481185342"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "HtmlReportPage",
"file": "server-plugin/server-plugin-report-html/src/main/java/io/onedev/server/plugin/report/html/HtmlReportPage.java"
},
"id": "CVE-2024-45309-9c02e251",
"deprecated": false
},
{
"digest": {
"length": 3997.0,
"function_hash": "121282398739368989465128258001449193318"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "newResourceResponse",
"file": "server-core/src/main/java/io/onedev/server/web/resource/RawBlobResource.java"
},
"id": "CVE-2024-45309-b5fd078b",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"105827059447773214203479473042372978566",
"333193918586193537926867972865454220495",
"236576289359497243057353981349957053197",
"237117921381462175541014242587508089057",
"75390997116892666099292436930236173970",
"4894255107594914157106151864310115688",
"58520932644405994137896761319713017757",
"67619690202409540051184514761650964957"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-plugin/server-plugin-report-html/src/main/java/io/onedev/server/plugin/report/html/HtmlReportDownloadResource.java"
},
"id": "CVE-2024-45309-b702bf9f",
"deprecated": false
},
{
"digest": {
"length": 507.0,
"function_hash": "309233666536091412732569069431505845855"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "MarkdownReportPage",
"file": "server-plugin/server-plugin-report-markdown/src/main/java/io/onedev/server/plugin/report/markdown/MarkdownReportPage.java"
},
"id": "CVE-2024-45309-b8b50f83",
"deprecated": false
},
{
"digest": {
"length": 3215.0,
"function_hash": "237447230218112417121930009070396536788"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "newResourceResponse",
"file": "server-core/src/main/java/io/onedev/server/web/resource/ArtifactResource.java"
},
"id": "CVE-2024-45309-c70b83a3",
"deprecated": false
},
{
"digest": {
"length": 1982.0,
"function_hash": "9201479150519095335095433631221615317"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "ProjectBlobPage",
"file": "server-core/src/main/java/io/onedev/server/web/page/project/blob/ProjectBlobPage.java"
},
"id": "CVE-2024-45309-e3728170",
"deprecated": false
},
{
"digest": {
"length": 1494.0,
"function_hash": "80692697868825211719546801260015077735"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "CommitDetailPage",
"file": "server-core/src/main/java/io/onedev/server/web/page/project/commits/CommitDetailPage.java"
},
"id": "CVE-2024-45309-e9ef4928",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"90005595637715272356255899175513033809",
"4894255107594914157106151864310115688",
"58520932644405994137896761319713017757",
"67619690202409540051184514761650964957"
]
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Line",
"target": {
"file": "server-core/src/main/java/io/onedev/server/web/resource/ArtifactResource.java"
},
"id": "CVE-2024-45309-f2512355",
"deprecated": false
},
{
"digest": {
"length": 3511.0,
"function_hash": "226502638786587423212573698111782908027"
},
"signature_version": "v1",
"source": "https://github.com/theonedev/onedev/commit/4637aaac8c70d41aa789b7fce208b75c6a7b711f",
"signature_type": "Function",
"target": {
"function": "newResourceResponse",
"file": "server-core/src/main/java/io/onedev/server/web/resource/SiteFileResource.java"
},
"id": "CVE-2024-45309-f59113f4",
"deprecated": false
}
]
"2026-07-22T03:35:29Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45309.json"