nivolumab and ipilimumab in treating patients with hiv associated relapsed or refractory classical hodgkin lymphoma or solid tumors that are metastatic or cannot be removed by surgery

Conditions: Advanced Malignant Solid Neoplasm; Anal Carcinoma; HIV Infection; Kaposi Sarcoma; Lung Carcinoma; Metastatic Malignant Solid Neoplasm; Recurrent Classic Hodgkin Lymphoma; Refractory Classic Hodgkin Lymphoma; Unresectable Solid Neoplasm

Summary: this phase i trial studies the side effects and best dose of nivolumab when given with ipilimumab in treating patients with human immunodeficiency virus (hiv) associated classical hodgkin lymphoma that has returned after a period of improvement (relapsed) or does not respond to treatment (refractory), or solid tumors that have spread from where it first started to other places in the body (metastatic) or cannot be removed by surgery (unresectable). immunotherapy with monoclonal antibodies, such as ipilimumab and nivolumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. ipilimumab is an antibody that acts against a molecule called cytotoxic t-lymphocyte antigen 4 (ctla-4). ctla-4 controls a part of the immune system by shutting it down. nivolumab is a type of antibody that is specific for human programmed cell death 1 (pd-1), a protein that is responsible for destruction of immune cells. giving ipilimumab with nivolumab may work better in treating patients with hiv associated classical hodgkin lymphoma or solid tumors compared to ipilimumab with nivolumab alone.

primary objective: i. to demonstrate safety and feasibility of ipilimumab and nivolumab at the standard doses of drug in solid tumor and relapsed refractory hiv-classical hodgkin lymphoma (chl) participants with human immunodeficiency virus (hiv) infection given the possibility of increased toxicity based on immune activation, co-morbidity, or interference with highly active antiretroviral therapy (haart) therapy. (dose de-escalation and dose expansion cohorts) secondary objectives: i. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab, on immune function (hiv viral load in plasma using conventional assay, cd4+ and cd8+ cells). (dose de-escalation cohort) ii. to preliminarily assess objective response rates associated with treatment for commonly represented solid tumors (kaposi sarcoma, anal cancer, and lung cancer) and relapsed refractory hiv-chl. (solid tumor dose expansion and chl cohorts) iii. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab, on immune function (hiv viral load in plasma using conventional hiv assay, cd4+, and cd8+ cells). (solid tumor dose expansion and chl cohorts) exploratory objectives: i. understand the immune response to agent in the context of antiretroviral therapy (art), of altered immune function, and repertoire due to prior hiv infection. ia. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab, on intratumor immune cells by immunohistochemistry (ihc) such as pd1, programmed cell death 1 ligand 1 (pdl-1), and others. ib. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on circulating cytokine markers by multiplex assay, such as: interleukin (il)-2, il-4, il-6, il-10, il-8, interferon gamma-induced protein 10 (ip10), chemokine (c-x-c motif) ligand 13 (cxcl13), interferon (ifn)-gamma, tumor necrosis factor (tnf)-alpha, soluble il-2 receptor (sil2r)-alpha, scd27, soluble tnf receptor (stnfr)1, and stnfr2. ii. to understand the response of human tumor viruses (human papillomavirus \[hpv\], epstein-barr virus \[ebv\], kaposi's sarcoma-associated herpesvirus \[kshv\]) to agent. iia. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on herpesvirus loads (ebv, kshv, cytomegalovirus \[cmv\]) in plasma. iib. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on latent herpesvirus (ebv, kshv, cmv) in peripheral blood mononuclear cells (pbmc). iic. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on herpesvirus specific cd8 and cd4 t cells in pbmc. iid. in cases of kaposi sarcoma, to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on viral transcription in tumor biopsies. iie. in cases of anal cancer, to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on hpv types in anal swabs, when feasible. iii. understand the response of hiv to agent. iiia. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on latent hiv loads in pbmc using outgrowth assay. iiib. to evaluate the effects of single agent nivolumab, and the combination of ipilimumab and nivolumab on hiv reactive t cells. outline: this is a dose-escalation study of nivolumab. patients receive nivolumab intravenously (iv) over 30 minutes on day 1. patients in dose level 2 also receive ipilimumab iv over 90 minutes on day 1 of every third cycle of nivolumab, and patients in dose level -2 also receive ipilimumab iv over 90 minutes on day 1 of every sixth cycle of nivolumab. treatment repeats every 14 days for up to 46 cycles of nivolumab (with ipilimumab if receiving dose level 2 or -2) in the absence of disease progression or unacceptable toxicity. patients undergo blood sample collection throughout the study. patients undergo positron emission tomography (pet) and computed tomography (ct) during screening and on study. patients undergo bone marrow biopsy on screening and may undergo it during follow up. after completion of study treatment, patients are followed up for 16 weeks or 112 days (based on 5 half lives).

Eligibility criteria:
inclusion criteria: * participants must have histologically confirmed solid tumor malignancy that is metastatic or unresectable and for which standard curative or palliative measures do not exist or are no longer effective; participants with uncontrolled kaposi sarcoma are permitted (ks must be increasing despite haart and hiv suppression for greater than or equal to 2 months, or stable ks despite haart for greater than or equal to 3 months) * for participants in the 24 participant solid tumor cohort, only those histologies not known to respond to single agent nivolumab (such as pancreas, prostate, and microsatellite stable \[mss\] colorectal cancer) will be excluded * for participants in the relapsed refractory hiv-chl expansion cohort, participants must have histologically confirmed, relapsed/refractory (defined as relapsed/refractory to one or greater lines of therapy) hiv-associated classical hodgkin lymphoma * hiv-1 infection, as documented by any federally approved, licensed hiv rapid test performed in conjunction with screening (or enzyme linked immunosorbent assay \[elisa\], test kit, and confirmed by western blot or other approved test); alternatively, this documentation may include a record demonstrating that another physician has documented the participant's hiv status based on either: 1) approved diagnostic tests, or 2) the referring physician's written record that hiv infection was documented, with supporting information on the participant's relevant medical history and/or current management of hiv infection * participants must have measurable disease, defined as at least one lesion that can be accurately measured in at least one dimension (longest diameter to be recorded for non-nodal lesions and short axis for nodal lesions) as \>= 20 mm with conventional techniques or as \>= 10 mm with spiral computed tomography (ct) scan, magnetic resonance imaging (mri), or calipers by clinical exam; scans must have been performed within 4 weeks prior to registration; note: for participants with kaposi sarcoma, the following apply: at least five measurable cutaneous ks lesions or any number of lesions with systemic unresectable disease with no previous local radiation, surgical, or intralesional cytotoxic therapy that would prevent response assessment * prior therapy for metastatic disease permitted; at least 4 weeks must have elapsed since prior chemotherapy or biological therapy, 6 weeks if the regimen included carmustine (bcnu) or mitomycin c; radiotherapy must be completed at least 4 weeks prior to registration * age \> 18 years, because no dosing or ae data are currently available on the use of ipilimumab in combination with nivolumab in participants \<18 years of age, children are excluded from this study. * eastern cooperative oncology group (ecog) performance status =\ = 70%) * participants not on the hodgkin lymphoma expansion cohort: leukocytes \>= 2,000/mm\^3 (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: absolute neutrophil count \>= 1,000/mm\^3 (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: platelets \>= 75,000/mm\^3 (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: total bilirubin =\< 1.5 x institutional upper limit of normal (uln) =\< 3 x uln for subjects with gilbert's disease or with atazanavir- or indinavir-induced unconjugated hyperbilirubinemia without aspartate aminotransferase (ast) or alanine aminotransferase (alt) elevation and must have a total bilirubin less than 3.0 mg/dl (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: serum lipase and amylase \< 1.5 x uln (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: ast (serum glutamic oxaloacetic transaminase \[sgot\])/alt (serum glutamate pyruvate transaminase \[sgpt\]) =\< 3 x uln (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: creatinine \ 50 ml/min (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: hemoglobin \>= 9 g/dl (within 2 weeks prior to enrollment) * participants not on the hodgkin lymphoma expansion cohort: serum albumin \>= 2.8 g/dl (within 2 weeks prior to enrollment) * participants on the hodgkin lymphoma expansion cohort: leukocyte count: no lower limit (within 2 weeks prior to enrollment) (participants may receive granulocyte colony stimulating factor \[gcsf\] and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: absolute neutrophil count: \>= 1,000/mm\^3, unless decreased due to bone marrow involvement with lymphoma (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: platelets: \>= 75,000/mm\^3, unless decreased due to bone marrow involvement with lymphoma (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: hemoglobin: \>= 9 g/dl unless bone marrow involvement secondary to hodgkin lymphoma is present (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: total bilirubin: =\< 1.5 x institutional upper limit of normal (uln), or =\< 3 x uln for participants with gilbert's disease or with atazanavir- or indinavir-induced unconjugated hyperbilirubinemia without ast or alt elevation, and must have a total bilirubin less than 3.0 mg/dl) (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: serum lipase and amylase \< 1.5 x uln (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: ast (sgot)/alt (sgpt): =\< 3 x uln (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * participants on the hodgkin lymphoma expansion cohort: creatinine: \ 50ml/min (within 2 weeks prior to enrollment) (participants may receive gcsf and transfusions to meet these parameters) * hiv viral load should be well suppressed, defined as below the limit of detection of the local assay or below 75 copies/ml by food and drug administration (fda)-approved assays, within 4 weeks prior to registration * cd4 counts: * for stratum 1: cd4+ cell count greater than 200 cells/mm\^3 obtained within 2 weeks prior to enrollment at any united states (u.s.) laboratory that has a clinical laboratory improvement amendments (clia) certification or its equivalent * for stratum 2: cd4 cell count between 100-200 cells/mm\^3 obtained within 2 weeks prior to enrollment at any u.s. laboratory that has a clinical laboratory improvement amendments (clia) certification or its equivalent * expansion cohort: cd4 cell count for this cohort will be specified once stratum 1 and stratum 2 have completed enrollment * solid tumor expansion cohort: cd4+ cell count greater than 200 cells/mm\^3 obtained within 2 weeks prior to enrollment at any u.s. laboratory that has a clinical laboratory improvement amendments (clia) certification or its equivalent * chl cohort: cd4 cell count of at least 100 cells/mm\^3 * participants must be purified protein derivative (ppd) negative; alternatively, the quantiferon-tuberculosis (tb) gold in-tube (qft-git) assay can be used; an individual is considered positive for m. tuberculosis infection if the ifn-gamma response to tb antigens is above the test cut-off (after subtracting the background ifn-gamma response in the negative control); the result must be obtained within 12 weeks prior to enrollment; ppd positive (or quantiferon assay positive) participants are permitted if prophylaxis has been completed prior to enrollment * the effects of nivolumab and ipilimumab on the developing human fetus are unknown; for this reason and because other therapeutic agents used in this trial are known to be teratogenic, women of childbearing potential (wocbp) 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; wocbp should use an adequate method to avoid pregnancy for 6 months after the last dose of investigational drug; women of childbearing potential must have a negative serum or urine pregnancy test (minimum sensitivity 25 iu/l or equivalent units of human chorionic gonadotropic \[hcg\]) within 72 hours prior enrollment and the start of nivolumab; women must not be breastfeeding; men who are sexually active with wocbp must use any contraceptive method with a failure rate of less than 1% per year; men receiving nivolumab and who are sexually active with wocbp will be instructed to adhere to contraception for a period of 31 weeks after the last dose of investigational product; women who are not of childbearing potential (i.e., who are postmenopausal or surgically sterile as well as azoospermic men) do not require contraception; wocbp receiving nivolumab will be instructed to adhere to contraception for a period of 6 months after the last dose of investigational product; men receiving nivolumab and who are sexually active with wocbp will be instructed to adhere to contraception for a period of 31 weeks after the last dose of investigational product; should a woman become pregnant or suspect she is pregnant while she or her partner is participating in this study, she (or the participating partner) should inform the treating physician immediately * participants must receive appropriate care and treatment for hiv infection, including antiretroviral medications when clinically indicated, and should be under the care of a physician experienced in hiv management; participants will be eligible regardless of antiretroviral medication (including no antiretroviral medication) provided there is no intention to initiate therapy or the regimen has been stable for at least 4 weeks with no intention to change the regimen within 12 weeks following enrollment * participants who have hepatitis c (both reactive anti-hepatitis c virus \[hcv\] antibody and detectable hcv ribonucleic acid \[rna\]) and hepatitis b (hepatitis b surface antigen \[hbsag\] positive and anti-hepatitis b core \[hbc\]-total positive), may be enrolled, provided total bilirubin is =\< 1.5 x institutional uln, and ast (sgot) and alt (sgpt) must be =\< 3 x institutional upper limit of normal, and hepatitis b virus (hbv) deoxyribonucleic acid (dna) \< 100 iu/ml (if hepatitis b positive) within 2 weeks prior to enrollment * ability to understand and to sign a written informed consent document * criteria for solid tumor expansion and lymphoma cohorts: * inclusion and exclusion criteria for this cohort are the same as above, with the following rule for cd4 count based on tolerability in phase i; if, participants with lymphocyte t cd4 count between 100-200/mm\^3 (stratum 2) are shown to tolerate treatment in the phase i dose de-escalation portion at the same dose level as those with cd4 counts \> 200/mm\^3 (stratum 1), participants in the expansion cohort with cd4 counts \>= 100/mm\^3 are permitted; otherwise, the expansion is open to all solid tumor patients except those whose tumors are known not to respond to nivolumab (pancreas, prostate and mss colon cancer); for the relapsed refractory hiv-chl cohort, participants with cd4 count \>= 100/mm\^3 are permitted exclusion criteria: * participants who have received any other investigational agents within the 4 weeks prior to enrollment; concurrent radiation therapy is not permitted, except palliative (limited-field) radiation therapy, if all of the following criteria are met: * repeat imaging demonstrates no new sites of bone metastases * the lesion being considered for palliative radiation is not a target lesion * participants with known brain metastases or leptomeningeal metastases must be excluded unless they qualify for enrollment as described below because of poor prognosis and concerns regarding progressive neurologic dysfunction that would confound the evaluation of neurologic and other adverse events; participants with brain metastases are permitted if metastases have been treated and there is no magnetic resonance imaging (mri) evidence of progression for at least 4 weeks or more after treatment is complete and within 4 weeks prior to the first dose of nivolumab administration * history of allergic reactions attributed to compounds of similar chemical or biologic composition to ipilimumab, nivolumab, or other agents used in study, or history of severe hypersensitivity reaction to any monoclonal antibody * participants should be excluded if they have a condition requiring systemic treatment with either corticosteroids (\> 10 mg daily prednisone equivalents) or other immunosuppressive medications within 2 weeks of study drug administration; these drugs may interfere with the activity of ipilimumab and nivolumab if administered at the time of the first ipilimumab dose; inhaled or topical steroids and adrenal replacement doses =\ = 10 mg/day prednisone equivalents; a brief course of corticosteroids for prophylaxis (e.g., contrast dye allergy) or for treatment of non-autoimmune conditions (e.g., delayed-type hypersensitivity reaction caused by contact allergen) is permitted; use of anabolic steroids is permitted * participants with clinical or radiographic evidence of pancreatitis are excluded * uncontrolled intercurrent illness including, but not limited to, ongoing or active infection, symptomatic congestive heart failure, unstable angina pectoris, cardiac arrhythmia, or psychiatric illness/social situations that would limit compliance with study requirements * participants should be excluded if they have had prior treatment with an anti-pd-1, anti-programmed cell death ligand 1 (pd-l1), anti-programmed cell death ligand 2 (pd-l2), anti-ctla-4 antibody, or any other antibody or drug specifically targeting t-cell co-stimulation or immune checkpoint pathways; prior immune modulating therapy including vaccines may be eligible; prior immune events must be evaluated and the risk for new events which may represent continued sub clinical disease or a new process at previously damaged site or immune potentiation (e.g. ipilimumab followed by il2 causing bowel perforation, ipilimumab followed by indoleamine 2,3-dioxygenase \[ido\] inhibitor resulting in clinical hypophysitis); please keep in mind that inflammatory events may occur weeks to months following the last dose of ipilimumab and possibly nivolumab; assessment of potential effects of prior therapy should include: * immune status * organ damage * risk of autoimmunity * immunopotentiation * the participant has not recovered to baseline or common terminology criteria for adverse events (ctcae) =\< grade 1 from toxicity due to all prior therapies except =\< grade 2 alopecia, neuropathy, and other non-clinically significant adverse events (aes) * the participant has a primary brain tumor * participant has \>= grade 2 diarrhea (participants with grade 1 diarrhea are eligible provided stool for ova/parasites and stool cryptosporidium studies are negative) * opportunistic infection within the last 3 months * participants with active autoimmune disease or history of autoimmune disease that might recur, which may affect vital organ function or require immune suppressive treatment including systemic corticosteroids, should be excluded; these include but are not limited to patients with a history of immune related neurologic disease, multiple sclerosis, autoimmune (demyelinating) neuropathy, guillain-barre syndrome, myasthenia gravis; systemic autoimmune disease such as systemic lupus erythematosus (sle), connective tissue diseases, scleroderma, inflammatory bowel disease (ibd), crohn's, ulcerative colitis, hepatitis; and participants with a history of toxic epidermal necrolysis (ten), stevens-johnson syndrome, or phospholipid syndrome should be excluded because of the risk of recurrence or exacerbation of disease; participants with vitiligo, endocrine deficiencies including thyroiditis managed with replacement hormones including physiologic corticosteroids are eligible; participants with rheumatoid arthritis and other arthropathies, sjogren's syndrome and psoriasis controlled with topical medication and participants with positive serology, such as antinuclear antibodies (ana), anti-thyroid antibodies should be evaluated for the presence of target organ involvement and potential need for systemic treatment but should otherwise be eligible; participants are permitted to enroll if they have vitiligo, type i diabetes mellitus, residual hypothyroidism due to autoimmune condition only requiring hormone replacement, psoriasis not requiring systemic treatment, or conditions not expected to recur in the absence of an external trigger (precipitating event) * participants who have had evidence of clostridium (c.) difficile infection, active or acute diverticulitis, intra-abdominal abscess, intra-abdominal abscess, gastrointestinal (gi) obstruction and abdominal carcinomatosis, which are known risk factors for bowel perforation, should be evaluated for the potential need for additional treatment before coming on study * chl cohort only: history of allogeneic transplant