testing the addition of an anti-cancer drug, elimusertib (bay 1895344) atr inhibitor, to the chemotherapy treatment (gemcitabine) for advanced pancreatic and ovarian cancer, and advanced solid tumors

Conditions: Advanced Fallopian Tube Carcinoma; Advanced Malignant Solid Neoplasm; Advanced Ovarian Carcinoma; Advanced Pancreatic Adenocarcinoma; Advanced Primary Peritoneal Carcinoma; Fallopian Tube High Grade Serous Adenocarcinoma; Metastatic Pancreatic Adenocarcinoma; Ovarian High Grade Serous Adenocarcinoma; Platinum-Resistant Fallopian Tube Carcinoma; Platinum-Resistant Ovarian Carcinoma; Platinum-Resistant Primary Peritoneal Carcinoma; Primary Peritoneal High Grade Serous Adenocarcinoma; Stage II Pancreatic Cancer AJCC v8; Stage III Fallopian Tube Cancer AJCC v8; Stage III Ovarian Cancer AJCC v8; Stage III Pancreatic Cancer AJCC v8; Stage III Primary Peritoneal Cancer AJCC v8; Stage IV Fallopian Tube Cancer AJCC v8; Stage IV Ovarian Cancer AJCC v8; Stage IV Pancreatic Cancer AJCC v8; Stage IV Primary Peritoneal Cancer AJCC v8; Unresectable Pancreatic Adenocarcinoma

Summary: this phase i trial identifies the best dose, possible benefits and/or side effects of gemcitabine in combination with elimusertib (bay 1895344) in treating patients with pancreatic, ovarian, and other solid tumors that have spread to other places in the body (advanced). gemcitabine is a chemotherapy drug that blocks the cell from making dna and may kill tumor cells. elimusertib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. giving gemcitabine and elimusertib in combination may shrink or stabilize cancer.

primary objectives: i. evaluate the safety and tolerability of gemcitabine in combination with elimusertib (bay 1895344), as assessed by common terminology criteria for adverse events (ctcae) 5.0. (dose escalation and expansion cohort) ii. determine the maximum tolerated dose (mtd) of gemcitabine in combination with elimusertib (bay 1895344). (dose escalation cohort) secondary objectives: i. to observe and record anti-tumor activity. ii. analyze the pharmacokinetic (pk) profile of the gemcitabine and elimusertib (bay 1895344) combination. iii. assessing whether immunohistochemical markers of deoxyribonucleic acid (dna) damage, gamma-h2ax and phosphorylated (p)nbs1, increase in on-treatment biopsies compared to the levels seen in pre-treatment biopsies. exploratory objectives: i. explore biomarkers that predict response to this combination. ii. evaluate mechanisms of acquired resistance to this combination. outline: this is a dose-escalation study of gemcitabine followed by a dose expansion study. patients receive gemcitabine intravenously (iv) over 30 minutes on days 1 and 8 and elimusertib orally (po) once daily (qd) or twice daily (bid) on days 2-3 and 9-10. cycles repeat every 21 days in the absence of disease progression or unacceptable toxicity. all patients also undergo medical imaging scans after cycle 2 and then every 9 weeks throughout the trial and collection of blood samples during screening and on days 1, 2, and 9-10 of cycle 1. patients in the dose-expansion portion of the trial also undergo biopsies during screening and on day 9 of cycle 1. after completion of study treatment, patients are followed up for 30 days.

Eligibility criteria:
inclusion criteria: * dose escalation cohort: * patients must have histologically confirmed solid tumor malignancy that is not curable with standard approaches. gemcitabine must be considered a standard therapy for the participant's malignancy * patients must have a measurable disease, in at least one lesion, for both the dose escalation and expansion cohorts, as defined by response evaluation criteria in solid tumors (recist) version (v)1.1 * patients must have received one line of treatment for their incurable cancer before enrolling in this trial. patients with rare malignancies for which there is no accepted standard chemotherapy regimen can enroll without any prior treatments * patients must not have received more than two lines of cytotoxic chemotherapy * patients can have received prior gemcitabine * adjuvant chemotherapy is counted as one line of treatment if patients received it within 6 months of their cancer recurring * there is no limit for lines of prior targeted therapies or immunotherapy * patients who received a prior parp inhibitor must have had progressive disease, or intolerable toxicity, on the parp inhibitor prior to enrolling on the study * dose expansion cohort: * participants must have a histologically confirmed advanced pancreatic adenocarcinoma or ovarian cancer (high grade serous ovarian, primary peritoneal or fallopian tube cancer) that is not curable with standard approaches. patients with both metastatic pancreatic cancer and unresectable pancreatic cancer are eligible * ovarian cancer: * patients with ovarian cancer must have platinum-resistant disease, defined as progression within 6 months after the last platinum regimen * patients with ovarian cancer cannot have received more than one prior regimen in the platinum-resistance setting * pancreatic cancer: * patients with pancreatic cancer cannot have received more than one line of cytotoxic chemotherapy in the metastatic setting * adjuvant chemotherapy is not counted as one line of treatment, if patients received it more than 6 months prior to their cancer recurring * patients must have a biopsiable disease and at least one separate measurable lesion * dose escalation and expansion cohorts: * eastern cooperative oncology group (ecog) performance status =\ = 60%) * age \>= 18 years * because no dosing or adverse event data are currently available on the use of elimusertib (bay 1895344) in combination with gemcitabine in patients \< 18 years of age, children are excluded from this study * leukocytes \>= 3,000/mcl * hemoglobin \>= 10 g/dl (no red blood cell transfusion is allowed within 3 weeks before starting the trial) * neutrophil count \>= 1,500 k/mcl (participants must not have received colony stimulating factors \[e.g., granulocyte colony-stimulating factor, granulocyte macrophage colony stimulating factor or recombinant erythropoietin\] within 3 weeks before initiation of protocol therapy) * platelets \>= 100,000 /mcl * albumin \>= 2.8 mg/dl * total bilirubin =\< 1.5 x institutional upper limit of normal (uln) * aspartate aminotransferase (ast) (serum glutamic oxaloacetic transaminase \[sgot\]) / alanine aminotransferase (alt) (serum glutamic pyruvic transaminase \[sgpt\]) =\< 3 x institutional uln * creatinine clearance =\ = 50 ml/min/1.73 m\^2 * human immunodeficiency virus (hiv)-infected patients on effective anti-retroviral therapy with undetectable viral load within 6 months are eligible for this trial * for patients with evidence of chronic hepatitis b virus (hbv) infection, the hbv viral load must be undetectable on suppressive therapy, if indicated * patients with a history of hepatitis c virus (hcv) infection must have been treated and cured. for patients with hcv infection who are currently on treatment, they are eligible if they have an undetectable hcv viral load * patients with treated brain metastases or primary brain tumors are eligible if follow-up brain imaging after central nervous system (cns)-directed therapy shows no evidence of progression for \>= 4 weeks after the last date of treatment are permitted, and if they are no longer taking corticosteroids for at least 4 weeks prior to beginning the protocol * patients with a prior or concurrent malignancy whose natural history or treatment does not have the potential to interfere with the safety or efficacy assessment of the investigational regimen are eligible for this trial with permission of the principal investigator of the trial * patients with known history or current clinically significant symptoms of cardiac disease, or history of treatment with cardiotoxic agents, should have a clinical risk assessment of cardiac function using the new york heart association functional classification. to be eligible for this trial, patients should be class 2b or better * the effects of elimusertib (bay 1895344) on the developing human fetus are unknown. for this reason and because dna-damage response inhibitor agents as well as other therapeutic agents used in this trial are known to be teratogenic, women of child-bearing potential and men must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence) prior to study entry and for the duration of study participation and for 6 months after completion of elimusertib (bay 1895344) administration. should a woman become pregnant or suspect she is pregnant while she or her partner is participating in this study, she should inform her treating physician immediately. men treated or enrolled on this protocol must also agree to use adequate contraception prior to the study, for the duration of study participation, and 6 months after completion of elimusertib (bay 1895344) administration * ability to understand and the willingness to sign a written informed consent document exclusion criteria: * patients cannot receive chemotherapy, targeted therapy or immunotherapy within 3 weeks of study entry * patients who have had radiotherapy within 4 weeks prior to entering the study * patients who have not recovered from adverse events due to prior anti-cancer therapy (i.e., have residual toxicities \> grade 1) with the exception of alopecia and lymphopenia * participants must not have received investigational therapy administered =\< 4 weeks or within a time interval less than at least five half-lives of the investigational agent, whichever is longer, before initiation of protocol therapy * participants with known untreated brain metastases are excluded from this clinical trial * history of allergic reactions attributed to compounds of similar chemical or biologic composition to elimusertib (bay 1895344) or gemcitabine * patients receiving any medications that are substrates of cyp3a4 with a narrow therapeutic window, or strong inhibitors/inducers of cyp3a4 are ineligible, if they cannot be transferred to alternative medication. because the lists of these agents are constantly changing, it is important to regularly consult a frequently-updated medical reference. as part of the enrollment/informed consent procedures, the patient will be counseled on the risk of interactions with other agents, and what to do if new medications need to be prescribed or if the patient is considering a new over-the-counter medicine or herbal product * patients with uncontrolled intercurrent illness including but not limited to ongoing or active infection, symptomatic congestive heart failure, unstable angina pectoris, clinically significant cardiac arrhythmia, uncontrolled major seizure disorder, unstable spinal cord compression, superior vena cava syndrome or psychiatric illness/social situations that would limit compliance with study requirements are excluded * patients with psychiatric illness/social situations that would limit compliance with study requirements * pregnant women are excluded from this study because elimusertib (bay 1895344) as a dna-damage response inhibitor, and gemcitabine may have the potential for teratogenic or abortifacient effects. because there is an unknown but potential risk for adverse events in nursing infants secondary to treatment of the mother with elimusertib (bay 1895344) breastfeeding should be discontinued if the mother is treated with elimusertib (bay 1895344) and for 4 months after end of treatment. these potential risks may also apply to other agents used in this study * patients who have successfully undergone treatment for another, unrelated clinically relevant cancer, \>= 3 years post final treatment, are eligible to participate in this study * patients cannot have received radiation to more than 25% of their hematopoietically active bone marrow. pelvic radiation is considered to affect 25% of the haematopoietically active bone marrow, and only one prior course of pelvic radiation is allowed (hayman et al., 2011) * patients previously treated with an atr inhibitor are excluded * participants who have undergone major surgery =\< 4 weeks before initiating protocol therapy must have sufficiently recovered from adverse events caused by the procedure, as judged by the treating investigator * subjects with a gastrointestinal disorder or malabsorption that could potentially affect the absorption of the study drug are excluded * participants with a history of a clinically relevant second primary malignancy within the past 2 years are excluded. exceptions include resected basal and squamous cell carcinomas of the skin and completely resected carcinoma in situ of any type * patients not able to swallow tablets * for the dose expansion cohort, patients who cannot safely undergo tumor biopsies are excluded